OMS Questions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OMS Questions

Maguin, Eugene
My reading of the documentation for OMS is that the following two means commands should flow summary data into the designated data file.

*  LENGTH OF STAY BY KID AND FAMILY RATING ITEMS, DEMOGRAPHICS,
   MEDICATION AND DIAGNOSES.
OMS /SELECT TABLES/IF COMMANDS=['MEANS'] SUBTYPES=['REPORT']/
   DESTINATION FORMAT=SAV OUTFILE='H:\RTF DC Study\ANALYSIS\IVsByLOS.sav'.

MEANS LOS BY FunctImpairment1 TO FunctImpairment5 Symptoms1 TO Symptoms30
   KidStrength1 TO KidStrength12 FamStrength1 TO FamStrength6
   FamProb1 TO FamProb14/CELLS=COUNT MEAN MEDIAN.

MEANS LOS BY Facility AdmitYear Gender AdmitAgeR TotalMeds DxAGrp
   DxAGrpV2 FamBasicNeedsDI FamMedProbsDI KidSexBxSxDI FamPovertyDI/
   CELLS=COUNT MEAN MEDIAN.

OMSEND.

However, and curiously enough, the resulting data file has data only for the first means command.

Comments, please.

Thanks, Gene Maguin

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: OMS Questions

Salbod

Hi Eugene,

I ran your code with single IV--It worked fine.

 

Try running this. Does it work? If it does start slowly  adding sets of IVs.

 

*  LENGTH OF STAY BY KID AND FAMILY RATING ITEMS, DEMOGRAPHICS, MEDICATION AND DIAGNOSES.

OMS /SELECT TABLES/IF COMMANDS=['MEANS'] SUBTYPES=['REPORT']/

   DESTINATION FORMAT=SAV OUTFILE='H:\RTF DC Study\ANALYSIS\Test.sav'.

 

MEANS LOS BY FunctImpairment1

   /CELLS=COUNT MEAN MEDIAN.

 

MEANS LOS BY Facility

 /CELLS=COUNT MEAN MEDIAN.

 

OMSEND.

 

--Steve

 

 

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Maguin, Eugene
Sent: Tuesday, October 16, 2012 3:59 PM
To: [hidden email]
Subject: OMS Questions

 

My reading of the documentation for OMS is that the following two means commands should flow summary data into the designated data file.

 

*  LENGTH OF STAY BY KID AND FAMILY RATING ITEMS, DEMOGRAPHICS,

   MEDICATION AND DIAGNOSES.

OMS /SELECT TABLES/IF COMMANDS=['MEANS'] SUBTYPES=['REPORT']/

   DESTINATION FORMAT=SAV OUTFILE='H:\RTF DC Study\ANALYSIS\IVsByLOS.sav'.

 

MEANS LOS BY FunctImpairment1 TO FunctImpairment5 Symptoms1 TO Symptoms30

   KidStrength1 TO KidStrength12 FamStrength1 TO FamStrength6

   FamProb1 TO FamProb14/CELLS=COUNT MEAN MEDIAN.

 

MEANS LOS BY Facility AdmitYear Gender AdmitAgeR TotalMeds DxAGrp

   DxAGrpV2 FamBasicNeedsDI FamMedProbsDI KidSexBxSxDI FamPovertyDI/

   CELLS=COUNT MEAN MEDIAN.

 

OMSEND.

 

However, and curiously enough, the resulting data file has data only for the first means command.

 

Comments, please.

 

Thanks, Gene Maguin

 

=====================

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