Questions
I. Create the class Item with the following members:   1. id, a protected variable of type...

I. Create the class Item with the following members:
  1. id, a protected variable of type int
  2. name, a protected variable of type string
  3. price, a protected variable of type double
  4. a public non-default constructor which accepts three parameters to initialize the variables above

II. Create the class Chair. The class publicly inherits from Item and has the following members
  1. numLegs, a private variable of type int
  2. a non-default constructor to initialize numLegs, id, name, and price
  3. accessors and mutators for numLegs
  4. an int conversion constructor to convert from an int to a type of class Chair.
  5. a string conversion operator which returns a string consisting of the values of id, name, price, and int with spaces between the values
  6. overloaded output stream operator
  7. overloaded input stream operator

III. Write test code to create an instance of type Chair and test all members

In: Computer Science

b. Estimate the population standard deviation. What sample size would you recommend for a 90% confidence interval and a margin of error of 1.5? e. In part c, your interval means (select 1):

26, 22, 27, 28, 31, 24, 22, 21, 30, 27

a. Estimate the population mean.

b. Estimate the population standard deviation. What sample size would you recommend for a 90% confidence interval and a margin of error of 1.5? e. In part c, your interval means (select 1):

1. there is a 90% chance that the sample mean falls between the upper and lower confidence interval value.

2. there is a 90% chance that the true mean falls between the upper and lower confidence interval values.

3. There is a 90% chance that the sample mean equals the true mean.

4. There is a 90% chance that the population mean equals the true mean.

c. Construct a 90% confidence interval for your estimate.

In: Statistics and Probability

In a survey of 340340 childless married couples who were asked if they plan to have...

In a survey of 340340 childless married couples who were asked if they plan to have children in the next 55 years, 30%30% of the men and 27%27% of the women responded "Yes". Based on this survey, can it be concluded that there is a difference in the proportion of men ( p1p1 ) and women ( p2p2 ) responding "Yes"? Use a significance level of α=0.05α=0.05 for the test.

1. State the null and alternative hypotheses for the test.

2. Compute the weighted estimate of p, -p

3. Make the decision to reject or fail to reject the null hypothesis.

4. Find the P-value for the hypothesis test. Round your answer to four decimal places.

5. Make the decision to reject or fail to reject the null hypothesis. does the evidence support or fail

4.

In: Statistics and Probability

Here is the R code for running a t-test: t.test( numeric vector of data values, another...

Here is the R code for running a t-test:

t.test( numeric vector of data values, another optional numeric vector of data values,

       alternative = c("two.sided", "less", "greater"),

       mu = Ho, paired = c(TRUE, FALSE), var.equal = c(TRUE,FALSE),conf.level =1-)


1.) Suppose 30 students are all taking the same Math 115 and English 101 classes at CSUN. You want to know in which class students tend to do better. The data below represents the class averages of the students in both classes. Write the R code that does the following:

a.) Makes two boxplots one green for the Eng_101 and a blue one for Math_115 labels the main title as "Class averages for students taking Stats vs English” and names the Eng_101 data as “English 101” and the Math_115 data as “Intro to Statistics”.

b.) Computes the sample size, mean and standard deviation of the Eng_101 and Math_115.

c.) Performs a paired two-sided t-test with =.01 to Eng_101 and Math_115 to decide whether there has been a statistically significant difference between the class averages in English 101 and Math 115.

d.) Paste your R code into Run R Script and run the script.

e.) Paste the R output to the bottom R code.

f.) Looking at the p-value in the R output, decide if there is evidence to suggest that there is a statistically significant difference between the class averages in English 101 and Math 115. Write the p-value and your conclusion at the top of your R code.

Eng_101<-c( 80, 72, 73, 76, 79, 79, 79, 75, 75, 68, 70, 76, 79, 74, 73, 81,72, 74, 77, 83, 79,78, 72, 79,60,54,50,40,65,59)

Math_115<-c( 74, 67, 74, 70, 76, 60,56,45,66,81, 67, 63, 71, 76, 66, 73, 77, 68, 71, 75,

68, 79, 73, 85, 78, 77, 72, 77, 59,65)

In: Statistics and Probability

Is “age” in the Patients dataset (Excel) normally distributed?

 

Instructions

  1. Question: Is “age” in the Patients dataset (Excel) normally distributed? To answer this question, follow the directions in Chapter 6 (Comparing Data Characteristics to Theoretical Properties and Constructing the Normal Probability Plot). (15 points)
  2. Assuming that the “age” variable for the individuals in the Patients dataset is normally distributed, what is the probability that the age of a patient in this dataset: (15 points)
    1. Is less than 45?
    2. Is greater than 55?
    3. Lies between 45 and 55?
  3. When you have completed your assignment, save a copy for yourself and submit a copy to your instructor using the Assignment submission page by the end of the workshop. Showing your work is required, not just providing answers without showing how you arrived at them. Here is the age data from the Excel sheet:
Age (Years)
78
74
89
81
87
65
90
61
90
78
78
71
76
76
79
72
72
64
72
69
63
78
83
62
71
83
63
83
76
79
65
79
74
63
84
90
73
81
75
87
70
73
77
71
76
49
78
86
67
69
73
88
67
69
77
64
76
64
41
49
59
81
74
77
78
73
67
80
77
73
67
86
82
84
73
82
62
84
89
84
81
81
78
84
37
62
80
80
73
80
80
80
81
39
86
79
87
53
83
80
79
72
77
81
67
80
67
88
88
92
85
85
80
98
74
77
53
93
83
80
79
87
59
81
94
33
78
29
80

In: Statistics and Probability

Question 12 parts are based on the random sample below which is obtained to test the...

Question 12 parts are based on the random sample below which is obtained to test the following hypothesis about the population mean.

74 88 89 67 89 81 86 83 78 76 73 82 90 77 85 89 81 81 87 81 76 89 68 83 80 75 83 88 87 67 80 90 78 67 76 69 82 87 74 80 70 82 89 72 80 88 74 72 75 78 80 70 84 82 82 72 86 73 73 87 77 89 90 72 78 90 89 67 69 71 75 88 73 78 74 72 84 88 72 77 70 71 78 67 70 72 83 69 88 69 87 83 69 82 85 75 71 70 82 77 78 67 79 75

Test the hypothesis that the mean is less than 80. I already calculated the estimated mean as 78.61 and the estimated variance of the mean as 50.066.

12a) The value of the test statistic is (if negative use the absolute value):

a 1.58

b 1.84

c 1.92

d 2.00

12b) Given α = 0.05, the critical value for the test is,

a 2.363

b 1.983

c 1.660

d 1.290

12c) The approximate p-value for the test is,

a 0.054

b 0.038

c 0.023

d 0.018

12d) Based on the p-value in the previous question,

a Reject H₀ at α = 0.10; do not reject H₀ at α = 0.05

b Reject H₀ at α = 0.05; do not reject H₀ at α = 0.01

c Reject H₀ at α = 0.01; do not reject H₀ at α = 0.05

d reject H₀ at α = 0.05; reject H₀ at α = 0.01

In: Statistics and Probability

Geotechnical Engineering -Draw in scale the distribution of the passive pressure - Calculate the total forces...

Geotechnical Engineering

-Draw in scale the distribution of the passive pressure

- Calculate the total forces and its components (in case there is)

-Locate the force in m with respect to the lower point

(Alpha is 90 degrees and Beta is 0, Delta is 10 degrees)

Layer γ Thickness Φ
1 18 2 27
2 16 1 32
3 17 3 28
4 18.5 2.50 30
5 17.5 1.5 29

In: Civil Engineering

Nissan has been at the heart of one of the biggest automotive financial scandals to date....

Nissan has been at the heart of one of the biggest automotive financial scandals to date. From executives under-reporting wages, to misreporting earnings, and even corporate espionage charges. For Project 1 you're job is to approximate the financial loss that this scandal has cost the company.

For this project you are going to be wearing your financial analyst hat. As an analyst it's your job to objectively evaluate the financial sustainability of a firm and offer your recommendation to current or potential shareholders.

In an executive summary (that is no more than two pages, 12pt font, 1.5 spaced) I want you to site major events in the scandal and use available financial information (stock prices, publicly available company financial statements, etc) to approximate the financial loss the company sustained.

Your writing this executive summary to the current and prospective shareholders so your conclusion must include your recommendation. Should investors buy, hold, or sell this stock? Is there any weight to the news around Nissan's new direction? Do you believe Nissan can recover from the financial and reputation damages?

You may include an appendix beyond the two page executive summary to include relevant links/citations to news articles, financial statements, stock charts, your own original Excel models etc. used to support your analysis.

In: Finance

Nissan has been at the heart of one of the biggest automotive financial scandals to date....

Nissan has been at the heart of one of the biggest automotive financial scandals to date. From executives under-reporting wages, to misreporting earnings, and even corporate espionage charges. For Project 1 you're job is to approximate the financial loss that this scandal has cost the company.

For this project you are going to be wearing your financial analyst hat. As an analyst it's your job to objectively evaluate the financial sustainability of a firm and offer your recommendation to current or potential shareholders.

In an executive summary (that is no more than two pages, 12pt font, 1.5 spaced) I want you to site major events in the scandal and use available financial information (stock prices, publicly available company financial statements, etc) to approximate the financial loss the company sustained.

Your writing this executive summary to the current and prospective shareholders so your conclusion must include your recommendation. Should investors buy, hold, or sell this stock? Is there any weight to the news around Nissan's new direction? Do you believe Nissan can recover from the financial and reputation damages?

You may include an appendix beyond the two page executive summary to include relevant links/citations to news articles, financial statements, stock charts, your own original Excel models etc. used to support your analysis.

In: Accounting

The Journey Company operates under a process cost system using the weighted average method. All direct...

The Journey Company operates under a process cost system using the weighted average method. All direct materials are added at the beginning of production in the department, and conversion costs are incurred evenly throughout production. Inspection occurs when production is 100% completed.

Following are data for January. All unfinished work at the end of January is 30% completed. The beginning inventory is 80% completed.

Beginning inventories

Direct Materials

$16,000

Conversion Costs

14,200

Costs added during current period

Direct Materials

$90,400

Conversion Costs

76,405

Physical Units

Units in beginning inventory

4,000

Units started this month

24,000

Total units completed and transferred out

22,600

Normal spoilage

960

Abnormal spoilage

800

A.         Following a material flow analysis, the company’s accountant estimates that 10% of the direct materials and 75% of conversion costs are classified as “waste and emissions.” Assume these percentages apply to both beginning inventories and current period costs.

Prepare a material flow cost report using the Weighted Average method.

B.         Provide a possible explanation for the higher proportion of waste in conversion costs compared to direct materials.

C.         Should the managers of Rally Company establish a goal of eliminating all waste and emissions?

Explain your reasoning.

D.         Suppose the managers are interested in presenting Rally as a company that is concerned about the environment. What are the pros and cons of publicly reporting data about the amount of waste in the company’s manufacturing operations

In: Accounting