Hello! Since both bar chart and vertical box are mentioned giving the base code declaration for both , followed by the code to create the box chart. Use the appropriate one.
Below are the type of declarations used to create a CHART on SAS
GCHART bar, pie, block, donut, star
charts
GPLOT scatter, bubble, line, area, box, regression
plots
G3D 3-D scatter and surface plots
GCONTOUR contour plots
GMAP maps with user-defined data
Below is the code for creating the Box chart
/* Open the LISTING destination and assign the LISTING style to
the graph */
ods listing style=listing;
ods graphics / width=5in height=2.81in;
title 'Education Analysis';
/* Run PROC SGPLOT on data STUDENT.EDUCATION, selecting for type
of subject */
proc sgplot data=student.education(where=(type in ('Maths'
'Chemistry'))) ;
/* generate a vertical box plot that groups by education type
* and shows hours per week */
vbox Hours_per_week / category=origin group=type
groupdisplay=cluster
lineattrs=(pattern=solid) whiskerattrs=(pattern=solid);
xaxis display=(nolabel);
yaxis grid;
keylegend / location=inside position=topright across=1;
run;
Table name : student
Column name : education,Hours_per_week
Hope your question is resolved. Cheers :)
how do you make a vertical bar chart on sas 9.4 with hours per week on...
Do male and female servers at Swank Bar work the same number of hours? A sample of 75 female servers worked an average of 33 hours per week, with a standard deviation of 2. A sample of 75 male servers worked an average of 24 hours per week, with a standard deviation of 5.Let μ1μ1 and μ2μ2 represent the typical number of hours worked by all female and male servers at Swank Bar, respectively. Estimate with a 97% confidence level how many more hours...
In this same questionnaire, you ask "How many hours do you study per week?" and ask them to fill in the blank. What level of data is this question? nominal, ordinal, interval, ratio ,none of the above
GSS asked in 2004 “About how many hours per week do you spend sending/answering email?” a sample of eight males (age 75 and above) responded: 0,1,2,2,7,10,14,15 The sample mean and standard deviation of the results are given: sample mean= 6.375 hrs, s = 6.022 hrs How would I find the point estimate and standard error? Would I use a t chart to find the 90% Confidence Interval? How would I do so? How would the distribution be skewed? Would it...
Total 100.0 99.9 100.0 6. How many hours per week do you spend on e-mail? Data are presented here for a GSS sample of 99 men and women, who each reported the number of hours they spent per week on e-mail. a. Compute the cumulative frequency and cumulative percentage distribution for the data. b. What proportion of the sample spent 3 hours or less per week on e-mail? c. What proportion of the sample spent 6 or more hours per...
A survey asked people, "How many hours do you spend watching reality TV shows per week?". From a random sample of 1200 people, sample mean was 9.5 and the (sample) standard deviation was 3.1 hours. Construct a 90% confidence interval for population mean A (6.4, 12.6) B. Cannot compute based on the given information. C-19.32, 9.68) D.(4.4, 15.6) E. (9.35, 9.65) QUESTION 20 (Continue from the previous question) what is the minimum required sample size to make sure that the...
how do you know if the hyperbola is going to be horizontal or vertical? Finding an Equation of a Hyperbola EX #7: Find the equation in standard form for a hyperbola with a major vertex point at (-2,4) and asymptotes at y=-x+4 and y=--x-2. 2 .6 STANDARD FORM: -6 Transverse Axis: Center Foci: Completing the Square
A random sample of 15 college students were asked "How many hours per week typically do you work outside the home?" Their 13 responses are shown on the right 31 13 Determine the shape of the distribution of hours worked by drawing a frequency histogram and computing the mean and median 18 Which measure of central tendency better describes hours worked? 16 18 25 28 20 24 15 Choose the correct frequency histogram below Hours Worked per Week OA Hours...
all questions Hours Worked Last Week Frequency Cumulative Percentage Percentage 3 9.4 9.4 2 6.3 15.6 1 3.1 18.8 1 3.1 21.9 30 9.4 31.3 3.1 34.4 40 14 43.8 78.1 6.3 84.4 50 2 3.1 87.5 1 55 3.1 90.6 1 60 3.1 93.8 1 96.9 64 3.1 1 70 3.1 100.0 1 Total 32 100.0 1. What is the level of measurement, mode, and median for "hours worked last week"? 2. Construct quartiles for weeks worked last year....
Do male and female servers at Swank Bar work the same number of hours? A sample of 60 female servers worked an average of 29 hours per week, with a standard deviation of 3. A sample of 60 male servers worked an average of 22 hours per week, with a standard deviation of 2. Let μ1 and μ2 represent the typical number of hours worked by all female and male servers at Swank Bar, respectively. Estimate with a 90% confidence...
(10) A person earns a wage $10 per hour and has 100 hours per week to allocate between leisure and work. At the $10 wage, the person chooses to consume 65 hours of leisure per week. a. Draw the labor-leisure graph showing the situation described above. Make sure to label all intercepts, axis, and relevant slopes in your graph. b.The wage increases to $15 per hour. Assume the substitution effect exceeds the income effect. Show on your graph whether the person works more...