Re: Converting syntax to an equation
Posted by
David Marso on
Oct 06, 2011; 1:30am
URL: http://spssx-discussion.165.s1.nabble.com/Converting-syntax-to-an-equation-tp4874086p4874846.html
Tony,
Y=XB+U
Where each of these are matrices:
Y (n x p)
B (p x k)
U (n x p)
n= number of respondents
p= number of dependent variables
k= the number of columns in the design matrix (including constant vector).
For additional info I refer you/him to the algorithms:
http://publib.boulder.ibm.com/infocenter/spssstat/v20r0m0/index.jsp?topic=%2Fcom.ibm.spss.statistics.help%2Falg_glm-uni-multi.htmHTH, David
----
Baglioni, Tony wrote
All,
A colleague asked me what should be a simple question and I have no answer for him. He has some basic manova syntax (below) and he would like to know what the equation from such a model would look like. Excluding all of the marginal means, etc., can anyone answer that question for him? Thanks very much.
Tony
GLM
perdelta costfairness BY naattph nattslf spolicy2 aware
/CONTRAST (naattph)=Simple /CONTRAST (nattslf)=Simple /CONTRAST
(spolicy2)=Simple
/METHOD = SSTYPE(3)
/INTERCEPT = INCLUDE
/PLOT = PROFILE( spolicy2*naattph spolicy2*nattslf)
/EMMEANS = TABLES(OVERALL)
/EMMEANS = TABLES(naattph) COMPARE ADJ(BONFERRONI)
/EMMEANS = TABLES(nattslf) COMPARE ADJ(BONFERRONI)
/EMMEANS = TABLES(spolicy2) COMPARE ADJ(BONFERRONI)
/EMMEANS = TABLES(naattph*nattslf) COMPARE (naattph) ADJ(BONFERRONI)
/EMMEANS = TABLES(naattph*nattslf) COMPARE (nattslf) ADJ(BONFERRONI)
/EMMEANS = TABLES(naattph*spolicy2) COMPARE (naattph) ADJ(BONFERRONI)
/EMMEANS = TABLES(naattph*spolicy2) COMPARE (spolicy2) ADJ(BONFERRONI)
/EMMEANS = TABLES(nattslf*spolicy2) COMPARE (nattslf) ADJ(BONFERRONI)
/EMMEANS = TABLES(nattslf*spolicy2) COMPARE (spolicy2) ADJ(BONFERRONI)
/PRINT = DESCRIPTIVE ETASQ
/CRITERIA = ALPHA(.05)
/DESIGN = naattph nattslf spolicy2 aware naattph*nattslf naattph*spolicy2 nattslf*spolicy2.
A J Baglioni jr
McIntire School of Commerce
University of Virginia
Rouss & Robertson Halls, East Lawn
P.O. Box 400173
Charlottesville, Va 22904-4173
434.924.4961
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"