Displaying 9 results from an estimated 9 matches for "y21".
Did you mean:
21
2004 Sep 14
3
reshaping some data
Hi all,
I have a data.frame with the following colnames pattern:
x1 y11 x2 y21 y22 y23 x3 y31 y32 ...
I.e. I have an x followed by a few y's. What I would like to do is turn
this wide format into a tall format with two columns: "x", "y". The
structure is that xi needs to be associated with yij (e.g. x1 should
next to y11 and y12, x2 should be next...
2006 Aug 25
2
horizontal direct product
...rix
product function called the horizontal direct product (*~), which is
some sort of variant on the Kronecker product.
For example if x is 2x2 and y is 2x2
the horizontal direct product, z, of x and y is defined (in the Gauss
manual) as:
row 1 = x11*y11 x11*y12 x12*y11 x12*y12
row 2 = x21*y21 x21*y22 x22*y21 x22*y22
Or in R code if:
x <- matrix(seq(1,4,by=1),2,2, byrow=TRUE)
y <- matrix(seq(5,8,by=1),2,2, byrow=TRUE)
The resulting matrix, if I had an operator, would be the following
matrix z, here formed in a contrived manner:
z.1 <- c(5, 6, 10, 12)
z.2 <- c(21,24,28,3...
2006 Mar 24
1
Multiple error bar plots
...represents a group index and y represents some measurements. I
have three sets of measurements all of which have the same group indices
(thus the same x values in the errbar plot).
In other words, my data looks like this:
X1 (group index), Y11 (measurement), error of Y11 (error in measurement)
X2, Y21, error of Y21
...
Xn, Yn1, error of Yn1 // End of the first set of measurements
X1, Y12, error of Y12,
X2, Y22, error of Y22,
...
Xn, Yn2, error of Yn2 // End of the second set of measurements
X1, Y13, error of Y13,
X2, Y23, error of Y23,
...
Xn, Yn3, error of Yn3 // end of the third set of measu...
2004 Jun 06
3
Average R-squared of model1 to model n
Hi,
We got a question about interpretating R-suqared.
The actual outputs for a test dataset is X=(x1,x2, ..., xn).
model 1 predicted the outputs as Y1=(y11,y12,..., y1n)
model n predicted the outputs as Y2=(y21,y22,..., y2n)
...
model m predicted the outputs as Ym=(ym1,ym2,..., ymn)
Now we have two ways to calculate R squared to evaluate the average performance of committee model.
(a) Calculate R squared between (X, Y1), (X, Y2), ..., (X,Ym), and then averaging the R squared
(b) Calculate average Y...
2003 Jul 07
0
(no subject)
...e simple data probability-value of the F-test,
respectively p-value, shown in the summary of a linear model?
somehow i can not retrieve this data out of R+ into my sql-dataset. i can
get all other data shown with the command:
summary(speciallinearmodel) - will have a gui screen
Call:
lm(formula = y21 ~ x4 + x18 + x4:x18, data = clustertransformationstabelle)
Residuals:
Min 1Q Median 3Q Max
-0.20915 -0.07354 -0.01823 0.04414 0.45191
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -0.003613 0.043142 -0.084 0.933450
x4 0.142373 0.1130...
2003 Jul 07
1
P-value for F from summary.lm (was RE: (no subject))
...t; the F-test, respectively p-value, shown in the summary of a
> linear model? somehow i can not retrieve this data out of R+
> into my sql-dataset. i can get all other data shown with the command:
> summary(speciallinearmodel) - will have a gui screen
>
> Call:
> lm(formula = y21 ~ x4 + x18 + x4:x18, data =
> clustertransformationstabelle)
> Residuals:
> Min 1Q Median 3Q Max
> -0.20915 -0.07354 -0.01823 0.04414 0.45191
> Coefficients:
> Estimate Std. Error t value Pr(>|t|)
> (Intercept) -0.003613 0.043142 -0.084 0.93345...
2000 Aug 14
5
Writing a workable function
After searching in R- Introduction, FAQ, help... I don't understand
this:
I write a function in a file (.R):
tt <- function(mc) { date()
mc<-read.csv2("machines.txt",na.strings="")
date()
}
I source it in R and I type tt(). The answer is
> tt()
[1] "Mon Aug 14 11:18:25 2000"
>
The instructions following the first "date()" are ignored. Why?
2018 May 10
1
Modèle à Equations structurelles
In my previous mail, I was asking help to fit structural equations models by using Partial Least Square (PLS) approch.I have used package plspm. I want to know how to manage moderating and mediating variables. I also want to show simultanously the graph of internal model and measurement model.
Thks.
Le jeudi 10 mai 2018 ? 15:42:46 UTC, Michael Dewey <lists at dewey.myzen.co.uk> a ?crit :
2018 May 10
3
Modèle à Equations structurelles
Bonjour,
Quelqu'un pourrait m'aider avec le code R pour estimer les mod?les ? ?quations structurelles via l'approche PLS,int?grer des variables mod?ratrices et m?diatrices et afficher les graphique simultan? des mod?les interne et de mesure?
Cdt.
[[alternative HTML version deleted]]