Help using Base SAS procedures

Strange output with weight option

Reply
N/A
Posts: 0

Strange output with weight option

Hi,
I'm working on patient satisfaction with first level health care in Mexico. The Data base contains a variable called 'factores de expansion final' to allow the sample to be representative of the whole population. According to what I know, this variable should be included in the weight option of any procedure used in SAS.
The data base contains a lot of potential independant variables ( variables of partial satisfaction) which are all correlated to each others. Thus I decided to run a factor analisis. As the variables are defined on lickert scale, I choose to transform them with proc prinqual and then run the factor analisis with the transformed variables.

This solution was really meaningfull and logical as long as I didn't use the weight option. With the weight option, factors and transformations had no sense, even with rotations.
I dont understand why the inclusion of this option is changing so much the correlations between variables.

Then I used the factors from the solution without weight in a binary logistic regression to modelize global satisfaction and this time, the solution with the weight option in proc logit is very very good (R2=0.9, too good?) and very very bad without it ( R2 =0.1).
I stilll dont understand why does the solution changes so much with or without the option.
Which solutin should I use? Should I never use the option weight, always use it or only use it when the results are coherent?
Please help me, this analisis is suppose to help improve the mexican health car system,
Thanks for your attention and help,
Chompy Message was edited by: Chompu
SAS Super FREQ
Posts: 8,781

Re: Strange output with weight option

Hi: You only need to post this question in one forum. You've already posted it in the Health Care forum and in the Statistical Procedures forum:
http://support.sas.com/forums/thread.jspa?threadID=10789&tstart=0
http://support.sas.com/forums/thread.jspa?threadID=10787&tstart=0

If your need is urgent, your best resource is SAS Technical Support. These forums should not be used in place of seeking help with Tech Support. Posting more than once is not going to net you more results.

To open a track with Tech Support, fill out the form at this link:
http://support.sas.com/ctx/supportform/createForm

cynthia
PROC Star
Posts: 7,417

Re: Strange output with weight option

Chompy,

I'm not a statistician, but I'd think it would depend upon whether your measure is is still meaningful using weight. Realize that the weight option is adding records with precisely the same values, thus all of the actual within unit variance is lost.

Consider, for example, the equivalent data sets:

using actual values:

score group
2 0
3 0
3 0
3 0
4 0
4 0
5 0
8 0
10 0
5 1

correlation=-0.03155

using non-weighted aggregated values:

score group
5.3 0
5.0 1

correlation=-1.0

using weighted values:

score group
5.3 0
5.3 0
5.3 0
5.3 0
5.3 0
5.3 0
5.3 0
5.3 0
5.3 0
5 1

correlation=-1.0

In the case shown above I would think that only the non-aggregated, non-weighted correlation actually reflects reality. Yes, there are instances where the use of weighted, aggregate values makes sense, but that would all depend on your data.

Art

p.s. FWIW, I disagree with the previous comment that cross posting doesn't sometimes help. I never would have seen your post if it had only been posted in the statistics' section.
Ask a Question
Discussion stats
  • 2 replies
  • 94 views
  • 0 likes
  • 3 in conversation