I have a vector representing distances between cities.
I have an nxn matrix looking like :
Manchester Leeds London
I'm trying to get the distances loaded to the matrix but I only have distances in one direction so I need to...
I have a data frame which looks like :
Jan_V Jan_S Feb_V Feb_S
1 100 90 120 110
2 123 88 112 120
3 121 89 134 130
There are around 200 rows.
The data frame can have additional month columns i.e. Mar_V...
If I have a time series that has a normal distribution of error from the mean is there a technique that lets me forecast the next period based a stronger weighting for recent months. I suppose I can work it up but wondered if anything exists.
Thanks in advance.
I'm a stat beginner and learning about linear regression.
Regarding heteroscedastic variables (i.e. variables with different levels of residuals throughout the population).
I can identify them by looking at the scatter or plotting residuals.
A couple of questions I have are...
I'm trying to reshape data and as part of this I have a data object containing a data frame that can have multiple pairs of XY columns and around 400 rows of numbers. I need to run a function for each pair of XY columns.
Eventually I'm looking to loop through the frame and extract...
I'm using the code below to create an ellipses chart (using the Cluster package).
It works well except the ellipses hull can extend beyond the x&y axis.
Is there a way to extend the axis to ensure the ellipse hull doesn't fall outside the axis?
I've tried playing with xaxs but it...
I have a data frame with the following :
Sales Team|Appointments #|Closed Sales #|Month
For a given month I would like to create the following chart type :
Imagine a scatter chart plotting Appointments on the X and and Closed Sales on the Y for each Sales Team.
Now imagine an...
I'm looking for general pointers regarding forecasting events.
We have a process where sales of services are made. These sales go through a lengthy admin and approval process.
I'm looking to predict how many approved sales will complete the process in the current month.
I have a table of...