Hi there,
I'm studying for my masters dissertation and being new to Stata I have a couple of questions I was hoping to get some help with. I've researched it myself but not found a helpful answer. I'm using Stata15 on a Mac.
Q1) I have a dependent variable of worry about crime, which for parsimoniousness I have taken as a simple average of the results of worry about different types of crime taken from a 7 point likert scale. To do this I put the following information into Stata:
However, I know that it's important to have a Cronbach's alpha score. To get this for the worry about crime variables listed above, I typed the following into Stata:
My question is - can I use this Cronbach's alpha score in reference to my WCMean variable? By this, I mean would it be correct to write something like this: 'In operationalising worry about crime, a new variable was generated to show the mean score of total worry about crime from all of the different crime indicators (apart from worry about terrorist attacks as this is used as the dependent variable). As the Cronbach's alpha score for WorryCrime_HomeBroken, WorryCrime_Mugged, WorryCrime_CarStolen, WorryCrime_StolenFromCar, WorryCrime_Rape, WorryCrime_Attacked, WorryCrime_AttackedEOrigin, WorryCrime_Online and WorryCrime_IdentityTheft shows a value of 0.8521, good internal consistency has been shown for the scales so utilising the mean score from these scales is acceptable.' ?
Q2) Using the following code, is it okay to mix both categorical, continuous and 'effectively' continuous (eg.WorryCrime_TerroristAttack is 1-7 likert scale) variables in multiple regression?
Thanks so much for your help!!
I'm studying for my masters dissertation and being new to Stata I have a couple of questions I was hoping to get some help with. I've researched it myself but not found a helpful answer. I'm using Stata15 on a Mac.
Q1) I have a dependent variable of worry about crime, which for parsimoniousness I have taken as a simple average of the results of worry about different types of crime taken from a 7 point likert scale. To do this I put the following information into Stata:
Code:
egen WCMean=rowmean(WorryCrime_HomeBroken WorryCrime_Mugged WorryCrime_CarStolen >WorryCrime_StolenFromCar WorryCrime_Rape WorryCrime_Attacked >WorryCrime_AttackedEOrigin WorryCrime_Online WorryCrime_IdentityTheft)
Code:
alpha WorryCrime_HomeBroken WorryCrime_Mugged WorryCrime_CarStolen WorryCrime_StolenFromCar > WorryCrime_Rape WorryCrime_Attacked WorryCrime_AttackedEOrigin > WorryCrime_Online WorryCrime_IdentityTheft
Q2) Using the following code, is it okay to mix both categorical, continuous and 'effectively' continuous (eg.WorryCrime_TerroristAttack is 1-7 likert scale) variables in multiple regression?
Code:
xi: regress WorryCrime_TerroristAttack Age i.Gender i.ethnicitydummy i.FeelIncome WhereLive > meanFeelLocalArea PoliticalLeaning meaninstitutionaltrust TimeMediaUse WCMean > meanTerrorKnowledge meanlikelyterror i.VictimCrimeAny i.Victim_TerroristAttack
Comment