To Convert Variable width as per datamap.

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

To Convert Variable width as per datamap.

Abdus Salam
Dear Experts,

  I have to convert one SPSS data file as per clients SPSS data map.Now my problem is
  I want to convert variable width (Not Column width) as per clients map.

  e.g.
  In my map q1(string) as a variable name ,its width is 165. and q2(Numeric) its width is 10.
  Whereas in  my data the width of q1 is 30, and q2 is 2. Can anybody suggest me how I can
  convert it by Pragmatically( in SPSS) not manually.

  Any help will be highly appreciated.


  Regards.
  Mousumi.















---------------------------------
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.
Reply | Threaded
Open this post in threaded view
|

Multiple regression centering and transforming variables

Sonia Patil
To those who answered my previous question regarding how to interpret
interactions when variables were transformed, thank you. The information
provided was very helpful.

I have another question about centering my variables. The readings I have
done recommend that I center my predictor and moderator variables. As I
undesrtand, I should first apply the transformations and then center the
variables to run the regression. Is this correct? Sorry, if this question is
seemingly simple but I want to make sure that I've got this right.

Thanks in advance for your help.
Sonia

_________________________________________________________________
Want a degree but can't afford to quit? Top school degrees online - in as
fast as 1 year
http://forms.nextag.com/goto.jsp?url=/serv/main/buyer/education.jsp?doSearch=n&tm=y&search=education_text_links_88_h288c&s=4079&p=5116
Reply | Threaded
Open this post in threaded view
|

Re: Multiple regression centering and transforming variables

statisticsdoc
Sonia,

What transformations did you ultimately decide to apply and why?

A fairly common form of centering in multiple regression involves
transforming the raw scores into z-scores, and then using the z-scores in
the computation of the interaction cross-product.  This procedure is helpful
in terms of placing the main effect and interaction weights on a similar and
easy to interpret metric.  However, if you have already decided to transform
the independent variables, I am not sure that I would recommend that you
also apply a z-score transformation on top of everything else.

HTH,

Stephen Brand

For personalized and professional consultation in statistics and research
design, visit
www.statisticsdoc.com


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]]On Behalf Of
Sonia Patil
Sent: Sunday, February 18, 2007 3:30 PM
To: [hidden email]
Subject: Multiple regression centering and transforming variables


To those who answered my previous question regarding how to interpret
interactions when variables were transformed, thank you. The information
provided was very helpful.

I have another question about centering my variables. The readings I have
done recommend that I center my predictor and moderator variables. As I
undesrtand, I should first apply the transformations and then center the
variables to run the regression. Is this correct? Sorry, if this question is
seemingly simple but I want to make sure that I've got this right.

Thanks in advance for your help.
Sonia

_________________________________________________________________
Want a degree but can't afford to quit? Top school degrees online - in as
fast as 1 year
http://forms.nextag.com/goto.jsp?url=/serv/main/buyer/education.jsp?doSearch
=n&tm=y&search=education_text_links_88_h288c&s=4079&p=5116
Reply | Threaded
Open this post in threaded view
|

Re: To Convert Variable width as per datamap.

Maguin, Eugene
In reply to this post by Abdus Salam
Abdus,

I'll assume that you want to convert q1 from A30 to A165 as I don't clearly
understand you.

Rename variables (q1=temp).
String q1(a165).
Compute q1=temp.

As for q2, use the format statement.

Format q2(f10.0) or (f10.2), depending on how many places to the right of
the decimal you want.

Gene Maguin