1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nat2105 [25]
3 years ago
15

For which table would 70 be the missing value,x?

Mathematics
2 answers:
Mila [183]3 years ago
8 0

data test;

input landval improval totval salepric saltoapr city $6. season $8.;

datalines;

  30000     64831     94831    118500   1.25  A    spring

  30000     50765     80765     93900    .         winter

  46651     18573     65224         .   1.16  B      

  45990     91402         .    184000   1.34  C    winter

  42394         .     40575    168000   1.43        

      .      3351     51102    169000   1.12  D    winter

  63596      2182     65778         .   1.26  E    spring

  56658     53806     10464    255000   1.21      

  51428     72451         .         .   1.18  F    spring

  93200         .      4321    422000   1.04      

  76125     78172     54297    290000   1.14  G    winter

      .     61934     16294    237000   1.10  H    spring

  65376     34458         .    286500   1.43       winter

  42400         .     57446         .    .    K    

  40800     92606     33406    168000   1.26  S    

;

run;

1. Number of missing values vs. number of  non missing values in each variable

The first thing we are going to look at the variables that have a lot of missing values. For numerical variables, we use proc means with the options n and nmiss.

proc means data = test n nmiss;

 var _numeric_;

run;

Variable N N Miss

landval 13 2

improval 12 3

totval 12 3

salepric 11 4

saltoapr 13 2

For character variables, we can use proc freq to display the number of missing values in each variable.

proc freq data = test;

 tables city season ;

run;

 

city Frequency Percent Cumulative Cumulative

Frequency Percent

A 1 10 1 10

B 1 10 2 20

C 1 10 3 30

D 1 10 4 40

E 1 10 5 50

F 1 10 6 60

G 1 10 7 70

H 1 10 8 80

K 1 10 9 90

S 1 10 10 100

Frequency Missing = 5

season Frequency Percent Cumulative Cumulative

Frequency Percent

spring 4 44.44 4 44.44

winter 5 55.56 9 100

Frequency Missing = 6

2. Number of missing values in each observation

We can also look at the number of missing values in each observation. For example, we can use SAS function cmiss to store the number of missing values from both numeric and character variables in each observation.

data test1;

 set test;

 miss_n = cmiss(of landval -- season);

run;

proc print data = test1;  

run;

                                                                 

Obs landval improval totval salepric saltoapr city season miss_n

1 30000 64831 94831 118500 1.25 A spring 0

2 30000 50765 80765 93900 .  winter 2

3 46651 18573 65224 . 1.16 B  2

4 45990 91402 . 184000 1.34 C winter 1

5 42394 . 40575 168000 1.43   3

6 . 3351 51102 169000 1.12 D winter 1

7 63596 2182 65778 . 1.26 E spring 1

8 56658 53806 10464 255000 1.21   2

9 51428 72451 . . 1.18 F spring 2

10 93200 . 4321 422000 1.04   3

11 76125 78172 54297 290000 1.14 G winter 0

12 . 61934 16294 237000 1.1 H spring 1

13 65376 34458 . 286500 1.43  winter 2

14 42400 . 57446 . . K  4

15 40800 92606 33406 168000 1.26 S  1

3. Distribution of missing values

We can also look at the patterns of missing values. By default the MI procedure will output missing data patterns for the variables in the specified datasets. If no var statement is specified Proc MI will output a table for the all the variables in a dataset. The ods select statement tells SAS to only output the "Missing Data Patterns" table.

proc mi data=test;

ods select misspattern;

run;

Missing Data Patterns

Group landval improval totval salepric saltoapr Freq Percent Group Means

landval improval totval salepric saltoapr

1 X X X X X 4 26.67 50896 72354 48250 207875 1.215

2 X X X X . 1 6.67 30000 50765 80765 93900 .

3 X X X . X 2 13.33 55124 10378 65501 . 1.21

4 X X . X X 2 13.33 55683 62930 . 235250 1.385

5 X X . . X 1 6.67 51428 72451 . . 1.18

6 X . X X X 2 13.33 67797 . 22448 295000 1.235

7 X . X . . 1 6.67 42400 . 57446 . .

8 . X X X X 2 13.33 . 32643 33698 203000 1.11

You will notice that this report only contains information for numeric variables not character. Another approach to achieve the same output could be via making use of formats, which then allows for character variables to be included. The order of the patterns is different but the information is still the same.

proc format;

value nm . = '.' other = 'X';

value $ch ' ' = '.'other = 'X';

run;

proc freq data=test;

table landval*improval*totval*salepric*saltoapr*city*season / list missing nocum;

format _numeric_ nm. _character_ $ch.;

run;

landval improval totval salepric saltoapr city season Frequency Percent

. X X X X X X 2 13.33

X . X . . X . 1 6.67

X . X X X . . 2 13.33

X X . . X X X 1 6.67

X X . X X . X 1 6.67

X X . X X X X 1 6.67

X X X . X X . 1 6.67

X X X . X X X 1 6.67

X X X X . . X 1 6.67

X X X X X . . 1 6.67

X X X X X X . 1 6.67

X X X X X X X 2

11111nata11111 [884]3 years ago
4 0

It is C

The Stone and Pounds

You might be interested in
On a coordinate plane, point Q is 0.5 units to the left and 1.25 units up. Point R is 1.25 units to the right and 0.5 units up.
Nataly [62]

Answer:

Point W

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
What is the are of this triangle? ( Look at the photo)
Eva8 [605]

Answer:

9 x 4 = 36 divided by 2 = 18

3 0
3 years ago
Factor: 4x^2-12x+9=0
Andreas93 [3]
Use formula a^2-2ab+b^2=(a-b)^2

4x^2-12x+9
\\(2x)^2-2(2x)(3)+3^2
\\(2x-3)^2
6 0
3 years ago
Read 2 more answers
Write an equation of the line that passes through the points (4,7) and is parallel to and perpendicular to the line y=1/2x-1 ans
emmasim [6.3K]
M = 0.5
y – 7 = 0.5 ( x – 4 )
y = 0.5x + 5
6 0
3 years ago
Solve y-12/25=3 1/5. What number is y?<br><br> A. 3 1/5<br> B. 3 17/25<br> C. 3 7/25<br> D. 4 17/25
kicyunya [14]

Answer:

Option c) y=3\frac{17}{25} is correct

The value of y is 3\frac{17}{25}

Step-by-step explanation:

Given equation is  

y-\frac{12}{25}=3\frac{1}{5}

To solve the given equation for y

y-\frac{12}{25}=3\frac{1}{5}

y-\frac{12}{25}=\frac{16}{5}  (converting mixed fraction to normal fraction )

y-\frac{16}{5}=\frac{12}{25}

y-\frac{(16\times 5)+12}{25}  (taking LCM 25 )

=\frac{80+12}{25}  (adding the terms )

y=\frac{92}{25}  (now convert fraction into mixed fraction )

Therefore y=3\frac{17}{25}

Option c) y=3\frac{17}{25} is correct

The value of y is 3\frac{17}{25}

6 0
3 years ago
Other questions:
  • Which number below has a value between 6.6 and 6.7?
    9·2 answers
  • Daisy has 5 1/2 pounds of chocolate she uses for fifth of it to bake brownies how much chocolate does she use to bake brownies
    9·2 answers
  • How do I find the volume of a cylinder?
    8·2 answers
  • PLZ SOLVE <br><br> {5+(10+11)/7}x6
    10·1 answer
  • Based on the data provided, what is the expected cost of repairs over two years if each repair costs $60?
    9·2 answers
  • I really need this no links or report but mark brainliest i do answer correctly
    10·1 answer
  • I need help Please and Thank you. A fundraiser sells 150 candy bars for a total of $125. What was the unit price (price per cand
    13·1 answer
  • If Frank builds a concrete rectangular walkway that is 4 feet wide by 1.5 feet deep, by 20 feet long from the house to the stora
    15·2 answers
  • Circle and squares are in the ratio 2:3 what fraction are circles
    7·1 answer
  • I need help on this question please!!!
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!