Date: Wed, 14 Jul 2010 11:01:00 -0700
Reply-To: Bruce Weaver <bruce.weaver@hotmail.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Bruce Weaver <bruce.weaver@hotmail.com>
Subject: Re: applying multinomial logistic model to new data
In-Reply-To: <0C889F9AC749CA49A4999A3CE193DAA00435995322@EXCHANGE2007.marketingresearchresources.com>
Content-Type: text/plain; charset=UTF-8
Tanya Dockendorf-2 wrote:
>
> Hi everyone,
> I need to do something in a hurry that I don't normally do, so I hope
> someone has an easy answer. I ran a multinomial logistic regression on a
> set of data and need to apply the model to classify cases from another
> data set. In the new data, I have all independent variables that were used
> in building the regression model, but not the dependent variable, which is
> why I need to apply the model. Is there a quick way to do that in spss?
> Typically I would program this in Excel or another software, but in this
> case, that would take too long.
>
> Thanks in advance!
>
> Tanya
>
Merge the two data sets with ADD FILES, then run your model, and have it
save whichever of the following variables you want:
Saved variables for NOMREG:
• Estimated response probabilities. These are the estimated probabilities of
classifying a factor/covariate pattern into the response categories. There
are as many estimated probabilities as there are categories of the response
variable; up to 25 will be saved.
• Predicted category. This is the response category with the largest
expected probability for a factor/covariate pattern.
• Predicted category probabilities. This is the maximum of the estimated
response probabilities.
Because the dependent variable does not exist in the second dataset, those
data will not be used in generating the model. But the saved variables will
appear for every record that has all of the explanatory variables.
HTH.
-----
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/
"When all else fails, RTFM."
NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/applying-multinomial-logistic-model-to-new-data-tp1092898p1092962.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD