Login  Register

Re: SPSS Community News - Two New Extension Commands - STATS FIRTHLOG and STATS INEQUALITY

Posted by Jon K Peck on Aug 05, 2014; 1:34am
URL: http://spssx-discussion.165.s1.nabble.com/SPSS-Community-News-Two-New-Extension-Commands-STATS-FIRTHLOG-and-STATS-INEQUALITY-tp5725639p5726886.html

The first messages refer to SPSSINC BREUSCH PAGAN, not FIRTHLOG.  Older versions of R did not like a final line in the code without a carriage return.  I believe that was fixed some time ago in the BREUSCH PAGAN extension command, so you might want to download and install the current version from the SPSS Community website (In Statistics 22 packages can be installed from the Utilities menu).

However, both commands refer to a missing R package: car and logistf.  These packages would normally be installed when you install the extension command, so either you did not have an Internet connection at installation time, or the installer did not have permission to update the R library.  Try starting Statistics using Run As Administrator and repeating the bundle installs, and, of course, make sure that you have an Internet connection.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        jpatino13 <[hidden email]>
To:        [hidden email]
Date:        08/04/2014 05:50 PM
Subject:        Re: [SPSSX-L] SPSS Community News - Two New Extension Commands - STATS FIRTHLOG and STATS INEQUALITY
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Thank you for the response. The information was helpful.

I've downloaded the R Package for SPSS Version 21, however Firthlogit is not
running properly. I get the following messages:

GET
 FILE='C:\Users\Jpatino\Documents\Nothern_States_Dataset.sav'.
DATASET NAME DataSet1 WINDOW=FRONT.
SPSSINC BREUSCH PAGAN DEPENDENT = Claim
 ENTER = Log10_Gov_Spend
 /OPTIONS MISSING=LISTWISE
 /SAVE.
Warning message:
In readLines(file) :
 incomplete final line found on
'C:/Users/Jpatino/AppData/Local/IBM/SPSS/Statistics/21/extensions/SPSSINC_BREUSCH_PAGAN.R'
Error: The R car package is required but could not be loaded.
STATS FIRTHLOG DEPENDENT=Claim INDEP=Log10_Bud_Surp
/OPTIONS FIRTH=YES PPL=YES CONF=95
MAXIT=100 MAXSTEP=5 MAXHS=5 LCONV=.00001 XCONV=.00001.
Firth Logistic Regression: Warnings
[DataSet1] C:\Users\Jpatino\Documents\Nothern_States_Dataset.sav
Warnings                
1                 The R logistf package is required but could not be loaded.



Error: End of procedure


Could you please provide me with guidance in order to get FirthLogit run
properly. Thank you.

Jairo



--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/SPSS-Community-News-Two-New-Extension-Commands-STATS-FIRTHLOG-and-STATS-INEQUALITY-tp5725639p5726883.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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


===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (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