Log transformation in command text PreviousNext
Mplus Discussion > Structural Equation Modeling >
 Scott Colwell posted on Monday, April 04, 2005 - 3:35 pm
I am running a moderation of one observed continous variable Z on the path between latent variable X on latent variable Y. The continuous variable Z is a stated percentage of usage of self service technology (SST) rated from 0% to 100% of the time. Since this variable does not follow a normal distribution, I thought it would be best to do a log transformation (base10) of Z prior to running the interaction. This leads me to two questions:

1) Can I write the code for the transformation in the command syntax or do I have to do it in the raw data? If possible in the syntax, where would I find sample code?

2) Would the log transformation cause problems with the estimation? ie: give improper estimates.

 Linda K. Muthen posted on Wednesday, April 06, 2005 - 2:59 am
You can use the DEFINE command to do the log transformation. The log transformation would not cause estimation problems.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message