LSMeans [General Statistics]
Dear Bharat,
Sorry if I was not expressing myself in a clear fashion.
The normal linear model, written in matrix notation would look like this:
y=Xb+e
y is the vector of abserved values (log Cmax for example).
X is model matrix.
b is the coefficient vector.
e is the vector containg the residuals.
If you have software that fits this model, then it minimses ete (the sum of squares) by playing around with the values in the b vector. By laws of matrix logic, b has as many rows as X has columns, and that is one for each value to be fitted. From this you can extract values (LSMeans) for Test and Reference. Note that when a model with intercept is fitted, there is typically just one column in X that corresponds to an LSMean value; to find the other in such cases you will have to add and subtract a little in order to figger the other LSMean out.
Oh dear, this was not at all clear. Sorry.
❝ I didn't get you about sneakier way of finding. Because I am a beginner please clarify clearly...
Sorry if I was not expressing myself in a clear fashion.
The normal linear model, written in matrix notation would look like this:
y=Xb+e
y is the vector of abserved values (log Cmax for example).
X is model matrix.
b is the coefficient vector.
e is the vector containg the residuals.
If you have software that fits this model, then it minimses ete (the sum of squares) by playing around with the values in the b vector. By laws of matrix logic, b has as many rows as X has columns, and that is one for each value to be fitted. From this you can extract values (LSMeans) for Test and Reference. Note that when a model with intercept is fitted, there is typically just one column in X that corresponds to an LSMean value; to find the other in such cases you will have to add and subtract a little in order to figger the other LSMean out.
Oh dear, this was not at all clear. Sorry.
—
Pass or fail!
ElMaestro
Pass or fail!
ElMaestro
Complete thread:
- least square mean calculation bvoggu 2010-08-18 07:49 [General Statistics]
- least square mean calculation Helmut 2010-08-18 14:15
- least square mean calculation bvoggu 2010-08-19 09:24
- SE: SAS / PHX-WNL / manual Helmut 2010-08-19 12:36
- Standard error d_labes 2010-08-19 16:18
- Standard error Helmut 2010-08-19 16:33
- Standard error bvoggu 2010-08-20 10:51
- Not with EXCEL d_labes 2010-08-20 14:57
- Standard error d_labes 2010-08-19 16:18
- SE: SAS / PHX-WNL / manual Helmut 2010-08-19 12:36
- least square mean calculation bvoggu 2010-08-19 09:24
- least square mean calculation ElMaestro 2010-08-18 14:46
- least square mean calculation bvoggu 2010-08-20 07:41
- LSMeansElMaestro 2010-08-20 09:34
- least square mean calculation bvoggu 2010-08-20 07:41
- least square mean calculation Helmut 2010-08-18 14:15