Questions
Iryna Cosmetics uses the perpetual inventory system to record its inventory. Beginning inventory on 1 May...

Iryna Cosmetics uses the perpetual inventory system to record its inventory. Beginning inventory on 1 May included 80 packets of skin care packs at $5 each. The firm completed the following transactions during May:

May 1

Sold 10 packets of skin care packs at $15 each for cash

4

Purchased 25 packets of skin care packs at $5 each on account. Terms 2/10, n/30.

5

A customer returned 4 of the packets of skin care packs sold on 1 May and received a cash refund. The packets of skin care packs were not defective.

10

Returned 5 of the packets of skin care packs purchased on 4 May.

12

Sold 20 packets of skin care packs at $20 each on account. Credit terms 2/10, n/30.

13

Paid the supplier the amount due on the 4 May purchase (and return).

Required:

(a)    Record the above transactions in the general journal using the perpetual inventory system. (Explanations not required)

          Note: Ignore GST.

(b)      Record the journal entry on May 4 (purchase) and May 12 (sale). Add the GST to the transactions. Assume periodic inventory. Round to the nearest cent. (Explanation not required)

In: Accounting

1.3.22 Choosing numbers Use the following information to answer the next four questions. One of the...

1.3.22 Choosing numbers Use the following information to answer the next four questions. One of the authors read somewhere that it’s been conjectured that when people are asked to choose a number from the choices 1, 2, 3, and 4, they tend to choose “3” more than would be expected by random chance. To investigate this, she collected data in her class. Here is the table of responses from her students:

chose 1 chose 2 chose 3 chose 4
10 4 14 5

a. Define the parameter of interest in the context of the study and assign a symbol to it.

b. State the null hypothesis and the alternative hypothesis using the symbol defined in part (a).

c. What is the observed proportion of times students chose the number 3? What symbol should you use to represent this value?

d. Use an applet to generate the null distribution of the proportion of “successes.” Report the mean and SD of this null distribution. e. Determine the standardized statistic for the observed sample proportion of “successes.”

f. Interpret the standardized statistic in the context of the study. (Hint: You need to talk about the value of your observed statistic in terms of standard deviations assuming ______ is true.)

g. Based on the standardized statistic, state the conclusion that you would draw about the research question of whether students tend to have a genuine preference for the number 3 when given the choices 1, 2, 3, and 4.

In: Statistics and Probability

Answer the one-way ANOVA questions using the data below. Use α = 0.01. 1 2 3...

Answer the one-way ANOVA questions using the data below. Use α = 0.01.

1 2 3 4
53
49
46
42
51
34
44
44
39
36
34
23
30
12
46
42
39
37
43
34
47
25
32
30
27
33
28
31



a) Compute the preliminary statistics below.
SSBG =  ;   dfBG =  
SSWG =  ;   dfWG =  
SST =  ; dfT =  

b) Compute the appropriate test statistic(s) to make a decision about H0.
critical value =  ; test statistic =  
Decision:  ---Select--- Reject H0 Fail to reject H0

c) Compute the corresponding effect size(s) and indicate magnitude(s).
η2 =  ;  ---Select--- na trivial effect small effect medium effect large effect

d) Make an interpretation based on the results.

At least one mean is different from another.None of the means differed from one another.     


e) Regardless of the H0 decision in b), conduct Tukey's post hoc test for the following comparisons:
1 vs. 4: difference =  ; significant:  ---Select--- Yes No
2 vs. 4: difference =  ; significant:  ---Select--- Yes No

f) Regardless of the H0 decision in b), conduct Scheffe's post hoc test for the following comparisons:
1 vs. 2: test statistic =  ; significant:  ---Select--- Yes No
3 vs. 4: test statistic =  ; significant:  ---Select--- Yes No

In: Statistics and Probability

R Studio Coding Exercise Problem-Set Questions 1-6 # 1) Create the following vector in 1 line...

R Studio Coding Exercise Problem-Set Questions 1-6

# 1) Create the following vector in 1 line of code without using the c() function:

# [i] 4 12 20 4 12 20 4 12

# 2) Create a vector of 25 random heights between 54 and 78 inches. Cycle through the vector using a For loop and create a new vector that places each height into a category. People less than 5 feet should be categorized as short, those taller than 6 feet should be categorized as tall, and everyone else should be categorized as average.

# Load the dataset called diamonds which is housed in the ggplot2 package. To do so execute the following steps.
If you have not done so previously, install ggplot 2: install.packages(ggplot)
Load the package: library(ggplot2)
Load the data: data("diamonds")
Diamonds is stored as something called a tibble. Coerce diamonds into a data frame using this code: diamonds<-as.data.frame(diamonds)

# 3) Write code to create a new data frame that is composed of just the diamonds that are Ideal cut.

# 4) Write code to calculate the number of diamonds in the data set


# 5) Write code to calculate the median price of Premium cut, E color diamonds


# 6) Write code to create a histogram showing the distribution of prices of diamonds that are greater than 2 carats.

In: Computer Science

IN C# In 1954, Hans Luhn of IBM proposed an algorithm for validating credit card numbers....

IN C#

In 1954, Hans Luhn of IBM proposed an algorithm for validating credit card numbers. The algorithm is useful to determine whether a card number is entered correctly or whether a credit card is scanned correctly by a scanner. Credit card numbers are generated following this validity check, commonly known as the Luhn check or the Mod 10 check, which can be described as follows (for illustration, consider the card number 4388576018402626): 1. Double every second digit from right to left. If doubling of a digit results in a two-digit number, add up the two digits to get a single-digit number. 2. Now add all single-digit numbers from Step 1. 4 + 4 + 8 + 2 + 3 + 1 + 7 + 8 = 37 3. Add all digits in the odd places from right to left in the card number. 6 + 6 + 0 + 8 + 0 + 7 + 8 + 3 = 38 4. Sum the results from Step 2 and Step 3. 37 + 38 = 75 5. If the result from Step 4 is divisible by 10, the card number is valid; otherwise, it is invalid. For example, the number 4388576018402626 is invalid, but the number 4388576018410707 is valid. Write a program that prompts the user to enter a credit card number as a long integer. Display whether the number is valid or invalid. Design your program to use the following methods: Use STRING as an input. Add methods

In: Computer Science

There are 4 mathematicians m1;m2;m3;m4 and 4 computer scientists c1; c2; c3; c4. mi and ci...

There are 4 mathematicians m1;m2;m3;m4 and 4 computer scientists c1; c2; c3; c4. mi and ci are enemies for each i = 1; 2; 3; 4 (i.e. m1 and c1 are enemies, m2 and c2 are enemies etc.). By the end of part (d), we ought to know how many ways there are to line up these 8 people so that no enemies are next to each other.

(a) How many ways are there to line up the 8 people with no restriction?

(b) How many ways are there to line up the 8 people such that m1 and c1 ARE next to each other? Hint: there are 2 ways to arrange m1 and c1 between themselves. Then once we have done that, we can imagine them as “glued together". So there are now 7 objects to permute (6 people and 1 glued pair).

(c) How many ways are there to line up the 8 people so that m1 and c1 ARE next to each other AND m2 and c2 are next to each other? Hint: use the gluing idea again.

(d) For i = 1; 2; 3; 4 let Ai represent the set of permutations of the people where mi and ci are next to each other (note in part (b), you found |A1|. Use inclusion-exclusion to find the number of bad permutations |A1 U A2 U A3 U A4|. Then conclude the number of good permutations.

In: Advanced Math

Problem 12-1 STAR Co. provides paper to smaller companies whose volumes are not large enough to...

Problem 12-1

STAR Co. provides paper to smaller companies whose volumes are not large enough to warrant dealing directly with the paper mill. STAR receives 100-feet-wide paper rolls from the mill and cuts the rolls into smaller rolls of widths 12, 15, and 30 feet. The demands for these widths vary from week to week. The following cutting patterns have been established:

Number of:
Pattern 12ft. 15ft. 30ft. Trim Loss
1 2 3 4 5 ft.
2 6 7 8 9 ft.
3 10 11 12 13 ft.
4 14 15 16 17 ft.
5 18 19 20 21 ft.

Trim loss is the leftover paper from a pattern (e.g., for pattern 4, 14(12) + 15(15) + 16(30) = 83 feet used resulting in 100-83 = 17 foot of trim loss). Demands this week are 22 12-foot rolls, 23 15-foot rolls, and 24 30-foot rolls. Develop an all-integer model that will determine how many 100-foot rolls to cut into each of the five patterns in order to meet demand and minimize trim loss (leftover paper from a pattern).

Optimal Solution:

Pattern Number Rolls Used
1
2
3
4
5

Trim Loss:   feet

In: Operations Management

Sales of People magazine are compared over a 5-week period at four Borders outlets in Chicago....

Sales of People magazine are compared over a 5-week period at four Borders outlets in Chicago.

Weekly Sales
Store 1 Store 2 Store 3 Store 4
103 98 89 105
  104 77 94 117
105 83 75 86
112 82 104 104
114 98 91 98

Fill in the missing data. (Round your p-value to 4 decimal places, mean values to 1 decimal place, and other answers to 3 decimal places.)

Treatment Mean    n Std. Dev
Store 1            
Store 2            
Store 3            
Store 4            
Total            
One-Factor ANOVA
  Source SS     df    MS F p-value
  Treatment               
  Error         
  
  Total      
   
(a) Based on the given hypotheses choose the correct option.
H0: μ1 = μ2 = μ3 = μ4
H1: Not all the means are equal
α = 0.05

  
  • Reject the null hypothesis if F < 3.24

  • Reject the null hypothesis if F > 3.24

(b) Determine the value of F. (Round your answer to 2 decimal places.)
  F-value   
(c)

On the basis of the above-determined values, choose the correct decision from below.



  • Reject the null hypothesis.

  • Fail to reject the null hypothesis.

(d) Determine the p-value. (Round your answer to 4 decimal places.)
  p-value   

In: Math

QUESTION 4 You are preparing some sweet potato pie for your annual Thanksgiving feast. The store...

QUESTION 4

  1. You are preparing some sweet potato pie for your annual Thanksgiving feast. The store sells sweet potatoes in packages of 6. From prior experience you have found that the package will contain 0 spoiled sweet potatoes about 65% of the time, 1 spoiled sweet potato 25% of the time and 2 spoiled sweet potatoes the rest of the time. Conduct a simulation to estimate the number of packages of sweet potatoes you need to purchase to have three dozen (36) unspoiled sweet potatoes.

    Part 1 of 3: (6 pts)

    Describe in detail and in paragraph form how you will use the random numbers provided from a random number table (in part 2) to conduct 2 trials of this simulation. Be sure to include all of the first four steps of a simulation. Steps 5 and 6 are part 2 and step 7 are part 3 of this question.

    1. Identify the component to be repeated.

    2. Explain how you will model the outcome.

    3. Explain in detail how you will simulate the trial.

    4. State clearly what the response variable is.

    Part 2 of 3: (3 pts)

    Use the random number table to complete 2 trials. Analyze your response variable.

    Trial#1:   41  23  19  98  75  08  63  29  10

    Trial #2: 88 26 95  69  57  71  02 62 34

    Part 3 of 3: (1 pt)

    Give your conclusion based on your simulation results.

In: Statistics and Probability

2. In “Hedonic Housing Prices and the Demand for Clean Air,” David Harrison Jr. and Daniel...

2. In “Hedonic Housing Prices and the Demand for Clean Air,” David Harrison Jr. and Daniel Rubinfeld1 estimated households’ willingness to pay for clean air in the Boston metropolitan area. They then see how the willingness to pay depends on pollution levels and income by estimating the following model:?????????????????=?1+?2∗????+?3∗???????+??Where:: is the estimated marginal willingness to pay (in $) of a household in the ?????????????????census tract for slightly cleaner air in the census tract : nitrogen oxide level (pollution) of the census tract in parts per hundred million (pphm)????: median household income of the census tract in hundreds of dollars???????Their estimated model results are reported as:?1=―1040?2=209?3=12.1?2=0.52??????????=506Please use these results to answer the following questions:

a. How much would households be willing to pay or receive for a 1 pphm reduction in nitrogen oxide levels, holding income constant? (6 points)

b. Please interpret the ?^2 of this regression. (6 points)

c. Suppose a census tract had a median household income level of $12,500 and nitrogen oxide levels of 10 pphm. What would be the regression’s prediction for the household’s willingness to pay? (6 points)

d. The authors also estimate the following model: ?????????????????=?1+?2∗????+?3∗???????+?4∗????+?? Where: ???They obtain the following regression results from the new model:?1=―581?2=189?3=12.4?4=―119.8?2=0.55??????????=506 In terms of the regression’s model fit to the data on willingness to pay, which model would the authors prefer? Please report the statistics that you used to make this determination. (12 points)

In: Economics