Hello there, i am trying out some stata exercise on my personal subscription and unlike previous posts I have dataex insalled on my STATA.
I am trying to create a boxplot for variable: Fitbit
Stata produces the boxplot but with the wrong Y axis - ID no rather than the Fitbit data which ranges from 623 - 750.
What am I doing wrong please?
Code used:
graph box Fitbit
Box plot produced:

Dataex:
I am trying to create a boxplot for variable: Fitbit
Stata produces the boxplot but with the wrong Y axis - ID no rather than the Fitbit data which ranges from 623 - 750.
What am I doing wrong please?
Code used:
graph box Fitbit
Box plot produced:
Dataex:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float ID long(Fitbit Treadmill) 1 4 4 2 7 7 3 16 16 4 12 17 5 17 11 end label values Fitbit Fitbit label def Fitbit 4 "645", modify label def Fitbit 7 "658", modify label def Fitbit 12 "691", modify label def Fitbit 16 "717", modify label def Fitbit 17 "730", modify label values Treadmill Treadmill label def Treadmill 4 "602", modify label def Treadmill 7 "636", modify label def Treadmill 11 "654", modify label def Treadmill 16 "692", modify label def Treadmill 17 "709", modify

)
Comment