Marin Inc. has an executive stock option plan, details of which
follow:
| ● | The plan entitles the President to purchase 52,900 common shares at $51.50 after a two-year vesting period that begins on the grant date of January 1, 2020. | |
| ● | The President can exercise the stock options any time between January 1, 2022 and December 31, 2026. | |
| ● | The President exercises 41,700 of the stock options on June 30, 2022. The rest of the options are allowed to lapse. | |
| ● | The shares’ market prices per share are as follows: |
| January 1, 2020 | $51.50 | |
| December 31, 2020 | $56.40 | |
| December 31, 2021 | $58.80 | |
| June 30, 2022 | $61.90 |
Marin uses an option-pricing model to value the stock options.
When granted, the options are estimated to have a fair value of
$8.50 each. This estimate remains unchanged during the vesting
period.
Assuming that Marin has a December 31 year end, prepare the
required journal entries as at the following dates.
(Credit account titles are automatically indented when
the amount is entered. Do not indent manually. If no entry is
required, select "No Entry" for the account titles and enter 0 for
the amounts.)
| (a) | January 1, 2020 (grant date) | |
| (b) | December 31, 2020 | |
| (c) | June 30, 2022 (exercise date) | |
| (d) | January 1, 2027 (lapse date) |
Assuming that Marin has a December 31 year end, prepare the
required journal entries as at the following dates.
(Credit account titles are automatically indented when
the amount is entered. Do not indent manually. If no entry is
required, select "No Entry" for the account titles and enter 0 for
the amounts.)
| (a) | January 1, 2020 (grant date) | |
| (b) | December 31, 2020 | |
| (c) | June 30, 2022 (exercise date) | |
| (d) | January 1, 2027 (lapse date) |
In: Accounting
1. Determine each of the following set of vectors is linearly independent or dependent.
(a) S1 = {(1, 2, 3),(4, 5, 6),(6, 9, 12)}.
(b) S2 = {(1, 2, 3, 4),(5, 6, 7, 8),(3, 2, 1, 0)}.
(c) S3 = {(1, 2, 3, 4),(5, 6, 7, 8),(9, 10, 11, 12)}
In: Advanced Math
A researcher is interested to learn if there is a relationship between the level of interaction a women in her 20s has with her mother and her life satisfaction ranking. Below is a list of women who fit into each of four level of interaction. Conduct a One-Way ANOVA on the data to determine if a relationship exists. State whether or not a relationship exists and why or why not. Explain in as much detail as possible.
|
No Interaction |
Low Interaction |
Moderate Interaction |
High Interaction |
|
2 |
3 |
3 |
9 |
|
4 |
3 |
10 |
10 |
|
4 |
5 |
2 |
8 |
|
4 |
1 |
1 |
5 |
|
7 |
2 |
2 |
8 |
|
8 |
2 |
3 |
4 |
|
1 |
7 |
10 |
9 |
|
1 |
8 |
8 |
4 |
|
8 |
6 |
4 |
1 |
|
4 |
5 |
3 |
8 |
In: Statistics and Probability
Recently, California has pushed for a new ethnic studies graduation requirement for high schoolers and students of the California State University system, AB 331. A sociologist suggests support for the proposed legislation is largely divided by racial groups. The following data table shows support for AB 331 based on the 5 racial groups designated by the U.S. Census. The scale is 1 to 7 where 1 represents no support and 7 represents complete support ----ANOVA method---
| White | Black | Asian | Native American or Alaska Native | Native Hawaiian or Pacific Islander |
| 1 | 5 | 4 | 1 | 5 |
| 2 | 4 | 2 | 4 | 6 |
| 7 | 4 | 1 | 2 | 6 |
| 3 | 4 | 5 | 4 | 7 |
| 2 | 3 | 4 | 2 | 7 |
In: Statistics and Probability
Given a square matrix of integers m, your task is to rearrange its numbers in the following way:
Example
For
m = [[ 1, 4, -2],
[-2, 3, 4],
[ 3, 1, 3]]
the output should be
sortMatrixByOccurrences(m) = [[3, 3, 4],
[3, 4, 1],
[1, -2, -2]]
First we look at the frequency of each number:
Because numbers 1, -2, and 4 occur the same number of times, we sort them by their values in ascending order. Number 3 occurs the most numbers of times, so it goes after all other numbers. Finally, after sorting we get the following array: [-2, -2, 1, 1, 4, 4, 3, 3, 3]
After sorting, the numbers should be placed diagonally starting from the bottom right corner, as follows:
[[3, 3, 4], [3, 4, 1], [1, -2, -2]]
Input/Output
[execution time limit] 0.5 seconds (cpp)
[input] array.array.integer m
A square matrix of integers.
Guaranteed constraints:
1 ≤ m.length ≤ 40,
m[i].length = m.length,
-1000 ≤ m[i][j] ≤ 1000.
[output] array.array.integer
code given:
std::vector> sortMatrixByOccurrences(std::vector> m) {
}
In: Computer Science
A study investigated the relationship between audit delay (Delay), the length of time from a company's fiscal year-end to the date of the auditor's report, and variables that describe the client and the auditor. The independent variables are as follows.
Industry A dummy variable coded 1 if the firm was an industrial company or 0 if the firm was a bank, savings and loan, or insurance company.
Public A dummy variable coded 1 if the company was traded on an organized exchange or over the counter; otherwise coded 0.
Quality A measure of overall quality of internal controls, as judged by the auditor, on a five-point scale ranging from "virtually none" (1) to "excellent" (5).
Finished A measure ranging from 1 to 4, as judged by the auditor, where 1 indicates "all work performed subsequent to year-end" and 4 indicates "most work performed prior to year-end."
A sample of 40 companies provided the following data.
| Delay | Industry | Public | Quality | Finished |
| 62 | 0 | 0 | 3 | 1 |
| 45 | 0 | 1 | 3 | 3 |
| 54 | 0 | 0 | 2 | 2 |
| 71 | 0 | 1 | 1 | 2 |
| 91 | 0 | 0 | 1 | 1 |
| 62 | 0 | 0 | 4 | 4 |
| 61 | 0 | 0 | 3 | 2 |
| 69 | 0 | 1 | 5 | 2 |
| 80 | 0 | 0 | 1 | 1 |
| 52 | 0 | 0 | 5 | 3 |
| 47 | 0 | 0 | 3 | 2 |
| 65 | 0 | 1 | 2 | 3 |
| 60 | 0 | 0 | 1 | 3 |
| 81 | 1 | 0 | 1 | 2 |
| 73 | 1 | 0 | 2 | 2 |
| 89 | 1 | 0 | 2 | 1 |
| 71 | 1 | 0 | 5 | 4 |
| 76 | 1 | 0 | 2 | 2 |
| 68 | 1 | 0 | 1 | 2 |
| 68 | 1 | 0 | 5 | 2 |
| 86 | 1 | 0 | 2 | 2 |
| 76 | 1 | 1 | 3 | 1 |
| 67 | 1 | 0 | 2 | 3 |
| 57 | 1 | 0 | 4 | 2 |
| 55 | 1 | 1 | 3 | 2 |
| 54 | 1 | 0 | 5 | 2 |
| 69 | 1 | 0 | 3 | 3 |
| 82 | 1 | 0 | 5 | 1 |
| 94 | 1 | 0 | 1 | 1 |
| 74 | 1 | 1 | 5 | 2 |
| 75 | 1 | 1 | 4 | 3 |
| 69 | 1 | 0 | 2 | 2 |
| 71 | 1 | 0 | 4 | 4 |
| 79 | 1 | 0 | 5 | 2 |
| 80 | 1 | 0 | 1 | 4 |
| 91 | 1 | 0 | 4 | 1 |
| 92 | 1 | 0 | 1 | 4 |
| 46 | 1 | 1 | 4 | 3 |
| 72 | 1 | 0 | 5 | 2 |
| 85 | 1 | 0 | 5 | 1 |
Enter negative values as negative, if necessary.
a. Develop the estimated regression equation using all four independent variables (to 3 decimals, if necessary). Delay = -------- + -------- Industry + ------- Public + ------- Quality + -----------Finished .
b. What is the value of the coefficient of determination (to 3 decimals)? Note: report R 2 between 0 and 1.
Did the estimated regression equation in part (a) provide a good fit?
c. Which of the following is a scatter diagram for showing Delay as a function of Finished? What does this scatter diagram indicate about the relationship between Delay and Finished?
The scatter diagram of Delay and Finishing suggests exists between these two variables. Add Finished-Squared as a fifth independent variable. Use best subsets regression procedure to answer the following question.
Which independent variables provide the best regression model if two independent variables are in the model?
Which independent variables provides the best regression model if three independent variables are in the model?
d. Using the best subset regression procedure, how many independent variables are in the highest adjusted R 2 model?
What is the value of R 2(adj) (to 1 decimal)? Note: report R 2(adj) as a percentage.
------------%
In: Statistics and Probability
Write a C++ or Java program that reads an input graph data from a user. Then, it should present a path for the travelling salesman problem (TSP). In the assignment, you can assume that the maximum number ofvertices in the input graph is less than or equal to 20.
Input format: This is a sample input from a user.
|
The first line (= 4 in the example) indicates that there are four vertices in the graph. The next line (= 12 in the example) indicates the number of edges in the graph. The remaining 12 lines are the edge information with the “source vertex”, “destination vertex”, and “cost”. The last line (= 0 in the example) indicates the starting vertex of the travelling salesman problem. This is the graph with the input information provided.
Sample Run 0: Assume that the user typed the following lines
4
12
0 1 2
0 3 7
0 2 5
1 0 2
1 2 8
1 3 3
2 0 5
2 1 8
2 3 1
3 0 7
3 1 9
3 2 1
0
This is the correct output. Your program should present the path and total cost in separate lines.
Path:0->1->3->2->0
Cost:11
Sample Run 1: Assume that the user typed the following lines
5
6
0 2 7
3 1 20
0 4 3
1 0 8
2 4 100
3 0 19
3
This is the correct output.
Path:
Cost:-1
Note that if there is no path for the TSP, your program should present empty path and -1 cost.
Sample Run 2: Assume that the user typed the following lines
5
7
0 2 8
2 1 7
2 4 3
1 4 100
3 0 20
3 2 19
4 3 50
3
This is the correct output of your program.
Path:3->0->2->1->4->3
Cost:185
This is the directed graph of the input data:
[Hint]: To solve this problem, you can use all permutations of the vertices, except the starting vertex. For example, there are three vertices 1, 2, and 3, in the first sample run, except the starting vertex 0. This is all permutations with the three vertices
1, 2, 3
1, 3, 2
2, 1, 3,
2, 3, 1
3, 1, 2
3, 2, 1
In: Computer Science
Write a Java program that reads an input graph data from a user. Then, it should present a path for the travelling salesman problem (TSP). In the assignment, you can assume that the maximum number of vertices in the input graph is less than or equal to 20.
Input format: This is a sample input from a user.
|
The first line (= 4 in the example) indicates that there are four vertices in the graph. The next line (= 12 in the example) indicates the number of edges in the graph. The remaining 12 lines are the edge information with the “source vertex”, “destination vertex”, and “cost”. The last line (= 0 in the example) indicates the starting vertex of the travelling salesman problem. This is the graph with the input information provided.
Sample Run 0: Assume that the user typed the following lines
4
12
0 1 2
0 3 7
0 2 5
1 0 2
1 2 8
1 3 3
2 0 5
2 1 8
2 3 1
3 0 7
3 1 9
3 2 1
0
This is the correct output. Your program should present the path and total cost in separate lines.
Path:0->1->3->2->0
Cost:11
Sample Run 1: Assume that the user typed the following lines
5
6
0 2 7
3 1 20
0 4 3
1 0 8
2 4 100
3 0 19
3
This is the correct output.
Path:
Cost:-1
Note that if there is no path for the TSP, your program should present empty path and -1 cost.
Sample Run 2: Assume that the user typed the following lines
5
7
0 2 8
2 1 7
2 4 3
1 4 100
3 0 20
3 2 19
4 3 50
3
This is the correct output of your program.
Path:3->0->2->1->4->3
Cost:185
This is the directed graph of the input data:
[Hint]: To solve this problem, you can use all permutations of the vertices, except the starting vertex. For example, there are three vertices 1, 2, and 3, in the first sample run, except the starting vertex 0. This is all permutations with the three vertices
1, 2, 3
1, 3, 2
2, 1, 3,
2, 3, 1
3, 1, 2
3, 2, 1
In: Computer Science
Consider the following Markov chain with P{X0 = 2} = 0.6 and P{X0 = 4} = 0.4:
1 2 3 4 5 6
1 0 0 0 0 1 0
2 .2 .05 0 .6 0 .15
3 0 0 .8 0 0 .2
4 0 .6 0 .2 0 .2
5 1 0 0 0 0 0
6 0 0 .7 0 0 .3
a. What is P{X1 = 4, X2 = 6 | X0 = 2}?
b. What is P{X2 = 6 | X0 = 2}? What is P{X18 = 6 | X16 = 2}?
c. What is P{X0 = 2, X1 = 4, X2 = 6}?
d. What is P{X1 = 4, X2 = 6}?
In: Advanced Math
Question 2:
Download the Excel data file "Arlington_Homes" from the folder "Data" under "Chapter 12."
a) read the data file in R.
b) using R, answer question 65 (a, b, and c) on page 411 of your book. Run the regression, show the estimates and test. Write what you are testing using a comment in the R program.
Question #65. link for page 411 #65 https://imgur.com/s0SgxP3
please show every step for R frmulas
|
Price |
Sqft |
Beds |
Baths |
Col |
|
840000 |
2768 |
4 |
3.5 |
1 |
|
822000 |
2500 |
4 |
2.5 |
1 |
|
713000 |
2400 |
3 |
3 |
1 |
|
689000 |
2200 |
3 |
2.5 |
1 |
|
685000 |
2716 |
3 |
3.5 |
1 |
|
645000 |
2524 |
3 |
2 |
1 |
|
625000 |
2732 |
4 |
2.5 |
0 |
|
620000 |
2436 |
4 |
3.5 |
1 |
|
587500 |
2100 |
3 |
1.5 |
1 |
|
585000 |
1947 |
3 |
1.5 |
1 |
|
583000 |
2224 |
3 |
2.5 |
1 |
|
569000 |
3262 |
4 |
2 |
0 |
|
546000 |
1792 |
3 |
2 |
0 |
|
540000 |
1488 |
3 |
1.5 |
0 |
|
537000 |
2907 |
3 |
2.5 |
0 |
|
516000 |
1951 |
4 |
2 |
1 |
|
511000 |
1752 |
3 |
1.5 |
1 |
|
510000 |
1727 |
3 |
2 |
1 |
|
495000 |
1692 |
3 |
2 |
0 |
|
463000 |
1714 |
3 |
2 |
0 |
|
457000 |
1650 |
3 |
2 |
0 |
|
451000 |
1685 |
3 |
2 |
0 |
|
435000 |
1500 |
3 |
1.5 |
1 |
|
431700 |
1896 |
2 |
1.5 |
0 |
|
414000 |
1182 |
2 |
1.5 |
0 |
|
401500 |
1152 |
3 |
1 |
0 |
|
399000 |
1383 |
4 |
1 |
0 |
|
380000 |
1344 |
4 |
2 |
0 |
|
380000 |
1272 |
3 |
1 |
0 |
|
375900 |
2275 |
5 |
1 |
0 |
|
372000 |
1005 |
2 |
1 |
0 |
|
367500 |
1272 |
3 |
1 |
0 |
|
356500 |
1431 |
2 |
2 |
1 |
|
330000 |
1362 |
3 |
1 |
0 |
|
330000 |
1465 |
3 |
1 |
0 |
|
307500 |
850 |
1 |
1 |
0 |
In: Statistics and Probability