Enter your query, example: how not cry when slicing onion or how to enter an Free Italian Sex Webcams?

How to name variables in stata Videos

STATA(12) Dummy Variables and Interaction Expansion (xi)

Help us caption and translate this video on Amara.org: //www.amara.org/en/v/BhE0/ How to run ordinal variables in STATA? How to interact with other ...

User Comments

https://gp6.googleusercontent.com/-OU1vghb5zJA/AAAAAAAAAAI/AAAAAAAAAAA/CttFutfadEc/s48-c-k-no/photo.jpg?sz=64
Yes, that is a good point. For discrete variable that takes more than 2 values, it can be ordered, which I learned to call it ordinal variable, and not ordered, which I learned to call it as categorical variable. Now, if you use them as covariates, it does not matter since they will all be a bunch of binary variables at the end of the day, so I use them interchangeably. That is playing fast and loose and you are absolutely correct that I should be more precise in my terminology.
https://gp6.googleusercontent.com/-OU1vghb5zJA/AAAAAAAAAAI/AAAAAAAAAAA/CttFutfadEc/s48-c-k-no/photo.jpg?sz=64
Depends on how you want to deal with missing variable in general. If you want to discard them, then nothing needs to be done, which is convenient but usually wrong. Otherwise, it will involve quite complicated procedure to handle missing observations correctly.
https://gp6.googleusercontent.com/--8cHyPYjsAQ/AAAAAAAAAAI/AAAAAAAAAAA/3xD7GuWeBrY/s48-c-k-no/photo.jpg?sz=64
How would you interact more than two variables. Say for example I wanted to run a fully interacted regression with 4 categorical variables, how does the syntax change to fully interact all four variables?
https://gp6.googleusercontent.com/-OU1vghb5zJA/AAAAAAAAAAI/AAAAAAAAAAA/CttFutfadEc/s48-c-k-no/photo.jpg?sz=64
Sorry for the late reply. I don't think you can graph a dummy variable, it only occupies two values so the graph will looks like two bars... On that note, maybe try bar chart of box chart with two groups
https://lh3.googleusercontent.com/-huyurEOqZ20/AAAAAAAAAAI/AAAAAAAAADU/-Qh2G-3Ep4w/photo.jpg?sz=64
Can you please explain how to interpret the interaction terms when interacting two dummies (race and gender in your example) Thank you
https://gp6.googleusercontent.com/-uiqE0T43rE0/AAAAAAAAAAI/AAAAAAAAAAA/9Ou0JLDYOiI/s48-c-k-no/photo.jpg?sz=64
it s a really useful video. Thanks! and a question: in case of missing values in the categorical variable, how should we treat?
https://lh5.googleusercontent.com/-Ar5Df8zocXQ/AAAAAAAAAAI/AAAAAAAAAnI/m_5FRFuUMAs/photo.jpg?sz=64
Question is how to generate interaction term in stata ?by combining two variables. could not understand 
https://gp5.googleusercontent.com/-IB1Ytqg4Tqk/AAAAAAAAAAI/AAAAAAAAAAA/dz9zQliByys/s48-c-k-no/photo.jpg?sz=64
do you have an example of using sample mean for dummy variable for continuous variables?
https://gp6.googleusercontent.com/-OU1vghb5zJA/AAAAAAAAAAI/AAAAAAAAAAA/CttFutfadEc/s48-c-k-no/photo.jpg?sz=64
I don't think STATA offers you this choice using "xi:" . Try egen with cell option.
https://gp5.googleusercontent.com/-KSFxSVXzI-c/AAAAAAAAAAI/AAAAAAAAAAA/MRsdGRnFomU/s48-c-k-no/photo.jpg?sz=64
Thanks! but if i want do a scatter graph whit a dummy variable... what can i do?
https://lh6.googleusercontent.com/-B2DZ4XL_eiQ/AAAAAAAAAAI/AAAAAAAAAUo/LPngzRMQKg8/photo.jpg?sz=64
Thanks for the video. Very helpful and saved an email to my professor.
https://gp6.googleusercontent.com/-OU1vghb5zJA/AAAAAAAAAAI/AAAAAAAAAAA/CttFutfadEc/s48-c-k-no/photo.jpg?sz=64
Sorry for the late reply. I did not quite understand the question here.
https://lh3.googleusercontent.com/-yfGDcM42GYk/AAAAAAAAAAI/AAAAAAAAIc4/92cQ30B3LF4/photo.jpg?sz=64
very helpful ! thank you very much !

Extracting first and last names in Stata (1/6)

How to use Stata's functions and regular expressions to extract the first and last name from a name variable. Name variable can be pretty complicated.

STATA tutorial- recoding to create binary indicators

This should provide a basic understanding of how to take a categorical variable (this video used race/ethnicity) and break down its categories into separate ...

User Comments

https://gp3.googleusercontent.com/-eFaqQ5yyW3g/AAAAAAAAAAI/AAAAAAAAAAA/jAzKwcg1C9I/s48-c-k-no/photo.jpg?sz=64
Hi! how do you recode missing values here while converting into binary var? thanks

Label Variables and Categories in STATA

User Comments

https://gp6.googleusercontent.com/-n2IA5-EwvM4/AAAAAAAAAAI/AAAAAAAAAAA/3HIn11UitR4/s48-c-k-no/photo.jpg?sz=64
thanks, it is helpful!

STATA(5) Recode

Help us caption and translate this video on Amara.org: //www.amara.org/en/v/BhET/ introduce the command of recode and 3 of its 5 recoding rules.

User Comments

https://gp4.googleusercontent.com/-SqW_-vQtabc/AAAAAAAAAAI/AAAAAAAAAAA/AnyZBB79H8w/s48-c-k-no/photo.jpg?sz=64
thanks! you helped me so much! :-)

Extracting first and last names in Stata (4/6)

String to Numeric with Loop

Basic video for converting many STRING variables to NUMERIC using ENCODE syntax in STATA with using LOOPS.

User Comments

https://lh3.googleusercontent.com/-62CE3bMFWPc/AAAAAAAAAAI/AAAAAAAAAGU/DjUwVpP1RRg/photo.jpg?sz=64
Hi...i used your information but not able to get done...its showing error.. I wrote syntax in this way foreach varlist in sdw tyhouse latrn { encode `varlist`, generate (_'varlist') } Please help me out
https://lh3.googleusercontent.com/-YyLRXeeeJZ8/AAAAAAAAAAI/AAAAAAAAAdk/g0H6sfRi88g/photo.jpg?sz=64
I see there is a typo error. Please copy and paste the code and run it. Let me know if it works!foreach varlist in sdw tyhouse latrn {encode `varlist', generate (_`varlist')}
https://lh3.googleusercontent.com/-62CE3bMFWPc/AAAAAAAAAAI/AAAAAAAAAGU/DjUwVpP1RRg/photo.jpg?sz=64
+Imran Sunesara :it works thanks lott & lott,
https://lh3.googleusercontent.com/-YyLRXeeeJZ8/AAAAAAAAAAI/AAAAAAAAAdk/g0H6sfRi88g/photo.jpg?sz=64
+Prakash Malin please go ahead and try `varlist' Note: It a button on keyboard just above the "Tab" key or left side of key "1"
https://lh3.googleusercontent.com/-YyLRXeeeJZ8/AAAAAAAAAAI/AAAAAAAAAdk/g0H6sfRi88g/photo.jpg?sz=64
+Prakash Malin: Try below code, changed from ' to ` foreach varlist in sdw tyhouse latrn {encode `varlist', generate (_`varlist')}
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
thank you i really enjoyed the video. However after running the code, i have 'Sorted by' in the Results window and my Data editor and other buttons are not responding. what did i do wrong or how do i restore the Results window?
https://lh3.googleusercontent.com/-YyLRXeeeJZ8/AAAAAAAAAAI/AAAAAAAAAdk/g0H6sfRi88g/photo.jpg?sz=64
Were you able to get the code running? Would suggest save the program file and close the STATA. After that start STATA again and re run the program. Let me know if it helped.
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
Im following the code to a t but its not working. In your mention of 'varlist', its not being highlighted for me as yours. I used inverted commas on the both ends of the word... How was yours highlighted?
https://lh3.googleusercontent.com/-YyLRXeeeJZ8/AAAAAAAAAAI/AAAAAAAAAdk/g0H6sfRi88g/photo.jpg?sz=64
please go ahead and try `varlist' Note: It a button on keyboard just above the "Tab" key or left side of key "1"
Sign up for free to join this conversation on fsaved.com.
Already have an account? Sign in to comment