Reference no: EM132095784
Please help with this code (visual basic 2013)
XYZ Corp's marketing department has recently launched a new campaign on their primary product: a diaper. The sales levels are always a bit fluctuating, so the current increase may or may not be related to the campaign.
In order to check this, you are given the task of writing a simple program to do some statistical checks. The program should
First, get inputs for two time series X and Y from the user. Here X represents the weekly amount of commercials from the campaign, normalized into an integer in [0,100].
And Y represents the weekly sales, again normalized into an integer in [0,100]. So the week with X=100 has the most commercials, and X=0 means no commercials. Similarly the week with Y=0 means no sales and Y=100 means maximum sales.
Then calculate the Pearson's correlation coefficient between X and Y, assuming Y is a function of X. You can use the formulations in any statistics textbook or on WIkipedia.
Then calculate the Pearson's coefficient again, now assuming that commercials need 1 week to create an effect, therefore shifting the values by 1 week.
Show the two correlation coefficients to the user.
For this program you need to use both loops and arrays.
First develop your program and then test it using any dataset you like. Your Instructor will have his own dataset to test your program.
What is the arrow maximum height above launch point
: An arrow is shot from a bow at an angle of 40° from the horizontal at a speed of 24.0 m/s. Ignoring air resistance, what is the arrow's maximum height above.
|
Create a database for the mentioned requirements
: Contact forms and order forms might be the most popular form types, but because you build your own forms, you can make any kind of form out there.
|
Describe the five types of galaxies
: In a 2 to 3 paragraph essay, describe the five types of galaxies within Hubble classification system. Select one of the galaxy types.
|
What is the magnitude of the force
: A 200-N sled of slides down a frictionless hillside that rises at 37A above the horizontal. What is the magnitude of the force that the hill exerts.
|
Calculate the pearsons coefficient
: Calculate the Pearson's coefficient again, now assuming that commercials need 1 week to create an effect, therefore shifting the values.
|
Determine equation of motion and solve equation of motion
: Because of symmetry both the top ball and three base balls are in one dimensional motion. Form a dimensionless lagrangian with two degrees of freedom.
|
What is the value of the inventory at june
: On June 12, it purchased 20 units at $14 per unit. On June 17, it sold 30 units. Using FIFO, What is the value of the inventory at June 17 after the sale
|
Design the circuit convert bcd into binary code
: Design the circuit convert BCD into binary code and save at register. If input range is over 99999 or less than -9999, then set overflow on D FF or reset.
|
Determine the spacing between two successive dark lines
: Two coherent plane waves with wave vectors ~k1 = k[cos 30?ˆi + sin 30?ˆj]and ~k1 = k[sin 30?ˆi + cos 30?ˆj] with k = 1.2 × 10-6m-1 are incident ona screen.
|