
02_Stats
Authored by Ira Simankova
Other
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
To investigate the relationship between two continuous variables (x1 and x2) in Stata, you would use
tab x1 x2
sum x1 x2
scatter x1 x2
hist x1 x2
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
To investigate the relationship between two categorical variables (x1 and x2) in Stata, you would use
tab x1 x2
sum x1 x2
scatter x1 x2
hist x1 x2
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
How can you display summary statistics of all the variables in the dataset in Stata?
sum
summar
summarize
All of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
There is a variable y in you dataset and you want to create a new variable x. Choose the line of code that would result in an error:
gen x = 2
gen x = 2 if y < 2
gen x = 2 if y = 2
gen x = 2 if y == 2
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
How can you combine if conditions in Stata?
With & as "and" and | as "or"
With & as "or" and | as "and"
It is impossible to combine conditions, there can be only one per line.
With () as "or" and [] as "and".
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?