Questions
1.) Suppose we have the following values for a dependent variable, Y, and three independent variables,...

1.) Suppose we have the following values for a dependent variable, Y, and three independent variables, X1, X2, and X3. The variable X3 is a dummy variable where 1 = male and 2 = female:X

X1 X2 X3 Y
0 40 1 30
0 50 0 10
2 20 0 40
2 50 1 50
4 90 0 60
4 60 0 70
4 70 1 80
4 40 1 90
6 40 0 70
6 50 1 90
8 80 1 100
9 90 0 80
9 20 1 150

a.) Run the multiple regression in Excel and provide the resulting multiple regression equation.

b.) Provide the R-Square measure. Is this a good regression model? Explain. Use a level of significance of 0.05 in any tests you consider.

c.) Which variables are important in explaining Y when the level of significance is 0.05? Is the dummy variable important at this level of significance? Discuss what coefficients mean regarding the effect of each variable on Y.

d.) Suppose a female with X1= 5 and X2= 80 is selected. What would be her predicted value of Y?

e.) What types of problems might exist in this multiple regression?

In: Statistics and Probability

C Programming Language Problem Title : Take Three Jojo just graduated and moved up to grade...

C Programming Language

Problem Title : Take Three

Jojo just graduated and moved up to grade 4. Today is his first day in 4th grade. Unfortunately, the lessons are held online because of the pandemic. So that the quality of learning remains good, Jojo's teacher gives a hard task for 4th grader.

After the 4th graders finished their first task which is prime factorization. Jojo's teacher set up a game for the stundets. The game is very simple. Given N colored balls, each student has to take 3 balls randomly. If a student got 3 balls with the same color, then the student counted as winner. Jojo is angry because he knows that this game is just pure luck to reach its goal. On the other hand, Jojo wants to know the number of possibilities to get 3 balls with the same color. As a good friend of Jojo, help Jojo to count the number of possibilities to get 3 balls with the same color.

Format Input

There are T testcases. Every testcase contains two rows. The first row consists of one integer N which indicates the number of balls. The second row consists of N integers A1, A2, A3, ..., An where Ai describe i-th ball's color.

Format Output

Output T line with the format “Case #X: ”, where X indicates the testcase number and then followed by an integer describes the number of possibilities to get 3 balls with the same color.

Constraints

  • 1T ≤ 10
  • 3 ≤ N ≤ 100000
  • 1 ≤ Ai ≤ 1000

Sample Input & Output (standard input & output)

5
5
1 1 2 2 2
Case #1: 1
5
1 2 2 2 2
Case #2: 4
10
1 3 3 3 3 3 2 2 2 2
Case #3: 14
5
1 2 2 3 3
Case #4: 0
10
2 2 2 2 2 2 2 2 2 2
Case #5: 120

In: Computer Science

Exercise 2: Beer’s Law Curve and Unknowns Data Table 1. Concentration and Resistance. Tube Label Concentration...

Exercise 2: Beer’s Law Curve and Unknowns

Data Table 1. Concentration and Resistance.

Tube Label

Concentration of Blue Dye in Test Tube (M)

Resistance Reading on Colorimeter (Ω)

B

2.57 x 10-4 M

3.6

1

3.4

2

3.3

3

3.1

4

3.0

5

2.9

6

2.8

7

2.7

8

2.6

9

2.4

W

0 M

2.2

CD 1

2.7

CD 2

2.4

How do I fill the blanks in? I understand that I am suppose to use M1V1 but I am COMPLETELY lost.

In: Chemistry

On the planet Homogenia every consumer who has ever lived consumes only two goods, x and...

On the planet Homogenia every consumer who has ever lived consumes only two goods, x and y, and has the utility function U(x, y) = xy. The currency in Homogenia is the fragel. In this country in 1900, the price of good 1 was 1 fragel and the price of good 2 was 2 fragels. Per capita income was 84 fragels. In 2000, the price of good 1 was 3 fragels and the price of good 2 was 4 fragels. The Laspeyres price index for the price level in 2000 relative to the price level in 1900 is A) 2.50 B) 3.50 C) 2.33 D) 4 can you the show work

In: Economics

1. Show that the set of all polynomials of deg=2 is not a vector space over...

1. Show that the set of all polynomials of deg=2 is not a vector space over reals.

can this be fixed, can we have a set of polynomials that is a vector space over reals?

2. Show that the set of 2x2 matrices with m_22 = 1 is not a vector space over reals.

3. Show that the set of infinitely-differentiable real functions is a a vector space under pointwise function addition, and pointwise scalar multiplication as defined in class, is a vector space over reals.

4. Show that the set of infinitely differentiable real functions such that f(0)=2, is not a vector space over reals.

please answer 1-4 thankyou

In: Advanced Math

Hypothesis Testing and Confidence Intervals for Proportions and Hypothesis Test for Difference between Two Means A...

Hypothesis Testing and Confidence Intervals for Proportions and Hypothesis Test for Difference between Two Means

A pharmaceutical company is testing a new cold medicine to determine if the drug has side affects. To test the drug, 8 patients are given the drug and 9 patients are given a placebo (sugar pill). The change in blood pressure after taking the pill was as follows:

Given drug: 3 4 5 1 -2 3 5 6

Given placebo: 1 -1 2 7 2 3 0 3 4

Test to determine if the drug raises patients’ blood pressure more than the placebo using  = 0.01

In: Math

Movie Survey Ask five classmates from a different class how many movies they saw last month....

Movie Survey

Ask five classmates from a different class how many movies they saw last month. Be sure to include rented movies or movies viewed on tv.

  1. Record the data.
  2. In class, randomly pick one person. On the class list, mark that person’s name. Move down four names on the class list. Mark that person’s name. Continue doing this until you have marked 12 names. You may need to go back to the start of the list. For each marked name record the five data values. You now have a total of 60 data values.
  3. For each name marked, record the data.

5

3

0

0

0

5

1

2

0

1

1

1

1

7

0

2

2

1

2

0

6

4

1

3

2

4

0

1

1

0

0

0

1

3

0

2

1

0

3

0

3

0

1

2

8

2

3

0

0

5

1

1

3

10

1

0

2

0

1

0

Table 1.17

Order the Data

Complete the two relative frequency tables below using your class data.

Number of Movies

Frequency

Relative Frequency

Cumulative Relative Frequency

0

1

2

3

4

5

6

7+

Table 1.18 Frequency of Number of Movies Viewed

Number of Movies

Frequency

Relative Frequency

Cumulative Relative Frequency

0–1

2–3

4–5

6–7+

Table 1.19 Frequency of Number of Movies Viewed

  1. Using the tables, find the percent of data that is at most two. Which table did you use and why?
  2. Using the tables, find the percent of data that is at most three. Which table did you use and why?
  3. Using the tables, find the percent of data that is more than two. Which table did you use and why?
  4. Using the tables, find the percent of data that is more than three. Which table did you use and why?

Discussion Questions

  1. Is one of the tables “more correct” than the other? Why or why not?
  2. In general, how could you group the data differently? Are there any advantages to either way of grouping the data?
  3. Why did you switch between tables, if you did, when answering the question above?

In: Statistics and Probability

The association between the variables "dollars earned" and "hours worked" for a worker at store would...

  1. The association between the variables "dollars earned" and "hours worked" for a worker at store would be

a.

POSITIVE

b.

NEGATIVE

c.

NEITHER

QUESTION 2



The association between the variables "GPA" and "hours spent studying" for a student would usually be

a.

POSITIVE

b.

NEGATIVE

c.

NEITHER

QUESTION 3



The association between the variables "cost of a book" and "the buyers body temperature" would be

a.

POSITIVE

b.

NEGATIVE

c.

NEITHER

QUESTION 4



The association between the variables "airfare" and "distance to destination" would be

a.

POSITIVE

b.

NEGATIVE

c.

NEITHER

QUESTION 5


A graph that will help to one to see what type of curve might best fit the bivariate data

a.

Pie chart

b.

stem-leaf plot

c.

dot plot

d.

scatter plot

QUESTION 6



If the correlation coefficient for a linear regression is -0.932. there is sufficient evidence that a linear relationship exists between the x and y data

a.

TRUE

b.

FALSE

QUESTION 7



Which of the following correlation coefficients represents the most linear function?

a.

0.976

b.

0.001

c.

-0.002

d.

-0.989

QUESTION 8



If the correlation coefficient for linear regression is 0.25. there is sufficient evidence that a linear relationship exists between the x and y data

a.

TRUE

b.

FALSE

QUESTION 9



A data point that lies statistically far from the regression line is a potential

a.

response variable

b.

predictor variable

c.

extrapolated variable

d.

outlier

QUESTION 10

  1. correlation5:

    If the correlation coefficient is 0.90, the value of the coefficient of determination would be

a.

0.90

b.

0.81

c.

0.45

d.

0.10

QUESTION 11



Use your TI83 to determine the correlation coefficient of the following set of points. Round correctly to the nearest hundredth.

(4, 4), (-2, -7), (3, 3), (4, -1)

QUESTION 12



Use your TI83 to determine the correlation coefficient of the following set of points. Round correctly to the nearest hundredth.

(4, 4), (-2, -4), (7, -2), (4, 1)

QUESTION 13



Use your TI83 to determine the correlation coefficient of the following set of points. Round correctly to the nearest hundredth.

(2, 4), (1, -1), (2, 2), (5, -4)

In: Math

THIS IS JAVA Magic squares. An n × n matrix that is filled with the numbers...

THIS IS JAVA

Magic squares.

An n × n matrix that is filled with the numbers 1, 2, 3, . . ., n^2 is a magic square if the sum of the elements in each row, in each column, and in the two diagonals is the same value.

Write a program that randomly generates 16 numbers, and it assigns them to the array after testing that the number was not already assigned. The program should test whether they form a magic square when put into a 4 × 4 array.

You need to test two features:

1. Build the array so that each of the numbers 1, 2, ..., 16 is present?

2.When the numbers are put into a square, are the sums of the rows, columns, and diagonals equal to each other? If so, display an appropriate message.

In: Computer Science

Assign 7,000 vehicles between node 1 and 2, using 3 traffic assignment methods: all-or-nothing, iterative, and...

Assign 7,000 vehicles between node 1 and 2, using 3 traffic assignment methods: all-or-nothing, iterative, and incremental. Use n=5 in the incremental method. In each method, determine the final travel time (T) of each link as well as the assigned volume. The link performance functions are as follows.  [100 pts.]

TA = 15 [1+0.15 (VA  / 1000)4]

TB = 20 [1+0.15 (VB  / 3000)4]

TC = 21 [1+0.15 (VC  / 1500)4]


In: Civil Engineering