instruction stringlengths 9 38.7k |
|---|
Where can I find resources to learn about change-point analysis ?
Hopefully, someone can advise me a textbook to read and it will cover both univariate change-point analysis and multivariate change-point analysis.
It will also be very helpful if someone can point me to some resources, which contains a worked example (... |
Is it possible to apply hurdle models (like the Craggit, probit and truncated models) to panel data, preferably with fixed effects to control for unobserved heterogeneity?
In Stata, the user-written command craggit only allows to use pooled panel data, but not to control for unobserved heterogeneity...
In general, th... |
How to interpret the Null and Residual Deviance in GLM in R? Like, we say that smaller AIC is better. Is there any similar and quick interpretation for the deviances also?
Null deviance: 1146.1 on 1077 degrees of freedom
Residual deviance: 4589.4 on 1099 degrees of freedom
AIC: 11089
|
This is more of a conceptual question.
I have a coefficient estimate of .80 in a linear regression model with one IV and one dependent variable. However, plotting the data I see distinct groups, differing by the intercept.
I have about 300 additional variables in the data set that could have (or could not have; maybe ... |
I am asking this question in context to section 4.1 in this paper:
security control methods for statistical Database
(http://www.utdallas.edu/~muratk/courses/privacy08f_files/stat_database_sec.pdf)
As I am not statistician or Mathematician so I had hard time understanding it. If someone could explain what is statistic... |
The MNIST dataset is a standard benchmark data set of digit images.
MNIST stands for 'Mixed National Institute of Standards and Technology'.
The NORB dataset is a commonly used dataset of binocular images used in object recognition.
What does the abbreviation NORB stand for?
The CIFAR dataset is a commonly used dataset... |
I'm running an A/B test where I want to compare two different layout of a button and want to see if one layout lead to a higher Click-Through Rate with a certain statistical power. I want to use a significance level of 0.05.
Layout 1 has 25302 visualization and received 40 clicks.
Layout 2 has 27924 visualization and ... |
I need an equation for random forest so that I can score fresh data I receive every week, based on beta estimates I got after building model using this ensemble methodology.
Every week I do not want to build random forest model again and then score it using following commands in Python. Because I have build 15 such mo... |
This might come as a very trivial thing and way below standards of this group but I am struggling to figure out what do the authors mean when they say that they have used initial level of income in growth regressions? assuming that the first obervation in the sample is 120, is it something like this:
Year GDP
1991 120
... |
The formula of Cook's distance is
$$D_i=\frac{(\hat Y-\hat Y(i))^{\prime}(\hat Y-\hat Y(i))}{p\times MSE}$$
where,
$\hat Y$ is the prediction from the full regression model and $\hat Y$ is a $(n\times 1)$ matrix
$\hat Y(i)$ is the prediction from a refitted regression model in which observation $i $ has been omitted. ... |
I'm trying to figure out how to set up and analyze the following experiment.
It's a basic reaction time-type experiment with 4 independent variables (2 levels each) and 1 dependent variable (RT).
The 4 independent variables are:
Hand used for response (Right vs Left)
Side of visual field where target appeared (left ... |
I have n individuals with k possible financial products where they can put a % of their incomes.
I need to predict for each individual the percentage of income that they allocate in each product.
Is there a way to model concurrently all the k percentages, exitimating also the correlation matrix?
In another work I used... |
I am not an expert in statistics, but I would like to work on a SARIMAX model representing power consumption. The exogeneous variable would be the temperature, but for now I found here I might need to do some cross-correlation study to go further.
It is also explained that in order to work on these correlated series I ... |
I want to test a sample correlation $r$ for significance ($n=16$), using p-values, in Python. As I have understood from this question, I can achieve that by using Fisher's z-transform.
Is there a Python module, which allows easy use of Fisher's z-transform?
I have not been able to find the functionality in SciPy or Sta... |
Methods:
From the machine learning literature, I understand different parameters can show performance of model in machine learning. I would briefly expand my understanding with confusion matrix:
(1) Accuracy: measures the proportion of correct predictions considering the positive and negative inputs.
(2) Specificity:... |
I have a project wherein my group wants to measure the effect of counseling at-risk students on their academic outcomes.
There are 1,000 students who will be enrolled during the current academic term. Resources (such as the counselors) are limited, so we can only use a subset of these. My boss says that we have enough... |
I'm using the word confusable to represent similar looking glyphs in text.
I'm building an optical character recognition tool with the primary goal of experimenting with machine learning – especially neural nets, which I already have some knowledge about. There is one issue that I just can't get my head around: Represe... |
I am trying to compare the coefficients of two panel data regressions with the same dependent variable. What I am aiming at is the following:
y1 = c + β x
y2 = c + β x
In Stata
xtreg y1 x i.z
xtreg y2 x i.z
I want to check whether the βs are significantly different.
With two regular regressions I woul... |
I have two groups of discrete data (integers):
Group 1 Group 2
101 103
105 200
115 150
98 160
100 115
... ...
and I need to know if they are significantly different or not. For this kind of tests I know there are useful tests such as t-test o... |
I'm running a statistical analysis for work in which I'm trying to determine which (if any) key economic indicators influence our sales. Here is the summary data that I'm getting when I run a multiple regression:
It appears to me that the overall regression has strong significance, as does the HousingStarts variable.... |
My causal comparative study seeks to three questions related to the hypothesis: a) is there a statistically significant difference between the academic achievement of 6th grade mathematics students based on non-band music participation status; b) is there a statistically significant difference between the academic achi... |
February usually has 28 days, unlike it's neighbors January and March which have 31.
It seems that most countable things will exhibit, on average, a 10% dip in February for the missing 3 days.
This isn't a matter of pure statistics, but it's something I just noticed. Is this known? Is it ever adjusted for charts?
|
So I am developing this application for rating books (think like IMDB for books) using relational database.
Problem statement :
Let's say book "A" deserves 8.5 in absolute sense. In case if A is the best book I have ever seen, I'll most probably rate it > 9.5 whereas for someone else, it might be just an average book... |
I am using a galaxy image simulator that provides a 2D histogram that has the number of photons per pixel (bin) $N$. I am currently using a least-squares residual:
$\sum_{bin}(f_{data}-f_{model})^2$
for the fitter (The Levenberg-Marquardt Algorithm) to approximate certain parameters of this "image". This least-squares ... |
If a multi-class Linear Discriminant Analysis (or I also read Multiple Discriminant Analysis sometimes) is used for dimensionality reduction (or transformation after dimensionality reduction via PCA), I understand that in general a "Z-score normalization" (or standardization) of features won't be necessary, even if the... |
I'm trying to build a specific neural network architecture and testing it using 10 fold cross validation of a dataset. Now building the model is a tedious job and Weka expects me to make it 10 times for each of the 10 folds.
Can't I just make the model for the first fold and ask weka to use that same model for the rema... |
I have 50 text documents
There are 500 possible words, after a stop list has been applied
My term/document sparse matrix is therefore 50x500
I'd like to cluster these documents. One easy way to do this would be via k-means but that requires giving each document co-ordinates on a 2-d graph.
I've heard that I can reduc... |
This is a favorite of mine
This example is in a humorous vein (credit goes to a former professor of mine, Steven Gortmaker), but I am also interested in graphs that you feel beautifully capture and communicate a statistical insight or method, along with your ideas about same.
One entry per answer. Of course, this ques... |
I am trying to check the assumptions of a two-way ANCOVA.
So in my model I have
two factors (F1, F2)
one dummy coded two level covariate (C)
one dependent variable (D)
In order to check the assumption of homogeneity of regression slopes I tried
to perform an ANOVA with type 3 sums for the model D ~ F1*F2*C to see wh... |
In the context of estimating geophysical quantities from remotely sensed data (inverse theory), what do the terms ex ante and ex post mean? For context, see for example this paper by T. von Clarmann (emphasis mine):
The actual value of $χ^2$ allows to conclude if the differences $\mathbf{\hat{x}}_\textrm{val} - \math... |
This question seems related, but the consensus was that the issue had to do scaling the data, which I do prior to training, so I don't think that's the issue:
Issue on prediction with FinalModel of RandomForest in R using the CARET package
I've uploaded a sample data set, and here is how I generated my model:
library... |
Is there a standard notation for distinguishing between the following:
Random Variables
Realizations of Random Variables
Deterministic Variables (not random)
Functions
I am familiar with using capital letters for random variables, X, and lowercase letters for realizations of those variables or alternatively Greek and... |
I have a large set of data comprising triples of points (t, y1, y2). At each t, I have a distribution of y1 and y2 points, each of which is approximately normal.
I would like to create a plot of y1 versus y2 (mean values) and add a 90% or 95% confidence interval envelope.
I would appreciate any advice on how to calcula... |
An event occurs with a mean of 15 times per hour and a standard deviation of 10 times/h.
From the population a sample of 100 individuals is drawn. What is the probability that the sample mean will be between 14 and 16?
I want to solve this problem assuming that the event follows a Poisson distribution (I can get the ri... |
For a single ROC curve (with relevant AUC score), how can you calculate the confidence interval? (The data used to generate this ROC/AUC is available)
Given my relatively limited background in this area, this would be a case of 'the easier, the better'.
PS: please also inform me of any conditions that have to be fulfi... |
I have been searching for several days for a method that fits this description, though cannot find one. I'm pretty sure it must exist.
The problem (short version):
I'd like to run something like a CART, though instead of making splits to improve information/purity, it would make splits to maximise the average of the a... |
I would like to regress total energy expenditure on age, gender, height and weight.But how do I check whether this relationship is linear?
|
I'm trying to figure out how Kolmogorov-Smirnov one-sample testing for normality is done in Minitab (or Systat, since the answers apparently match).
If this is my data vector:
abc <- c(0.0313, 0.0273, 0.0379, 0.0427, 0.0286, 0.0327, 0.0298, 0.0381, 0.0559, 0.0573,
0.0558, 0.113, 0.0464, 0.0442, 0.0579, 0.0495)
The b... |
I am a total newbie when it comes to time series, so it is quite possible this question is duplicated somewhere else, only that I cannot find it because I don't know what this feature is called.
My data:
I have weekly measurements of a variable "change in rank". I also have weekly measurements of another variable loose... |
I'm looking for specific, real cases in which a causal relationship was inappropriately inferred from evidence of a correlation.
Specifically, I'm interested in examples that meet the following criteria:
Existence of the causal relationship was accepted as fact widely enough to have notable effects (on public policy,... |
I am trying to fit a model to predict a quantitative response variable, using several binary variables. In particular, I am interested in measuring the relationship between one of the binary variables and the outcome variable, holding the other binary variables constant.
My inclination is that ANOVA is the appropriate ... |
I Have a variable (time series) which is nonstationary. I found that from the graph which seems to have a stochastic trend and the correlogram has a typical nonstationary pattern.
After that, I've been asked to find the parsimonious ARMA model (using information criteria), and by following the Box-Jenkins methodology,... |
The may sound like a strange question but I was wondering if a Pseudoinverse of a matrix could be found using SVD whether there was a graphical modelling equivalent that could be used to estimate the inverse of a matrix.
|
I have a set of data points, which exhibit a solid linear correlation $r\approx 0.9$. I am basically plotting population in certain areas against the number of occurrences of a certain phenomenon (so in other words, I think the number of people should predict the number of occurrences of this phenomenon).
I don't like ... |
I am trying to approximate a certain factor in my graph.
Following Tom Minka's tutorial what I have to do is as follows:
$$
\prod_{i=1}^3 q_{w_i}(\pi_2)\approx \int p(\pi_2|w_1)q_{\pi_1}(w_1)\prod_{i=1}^3 q_{D_i}(w_1)\, dw_1\,\, q_{w_2}(\pi_2)q_{w_3}(\pi_2)
$$
where $q_x(y)$ is the message that $y$ receives from $x$,... |
After running iterations of lm() in R, I am now stuck with which components of the model's output to present and how to present them. I know that the $R^{2}$ value, coefficients plot and intercept are of central importance. Is there any free resource which shows: how to interpret output, and then visually represent of ... |
I have two sets of test scores I'm using to predict future performance, using multiple regression, and I noticed that the y-intercept is negative.
This indicates that for a student who scores a zero on both tests I predict that their score will be X negative number.
This isn't possible with regard to the tests being ... |
Suppose I have around 20 exposures that potentially affect an outcome and I want to see which exposures have bigger impacts on the outcome. So I want to calculate each exposures' odds ratios by exponentiating the coefficients obtained from logistic regression. So I have the following input set and output set where 1 me... |
I intend to study the growth rate of diseases among patients of different age groups (cohorts) and comment on the growth of diseases in the next 5 years. Can I incorporate vital sign readings such as body temperature, systolic blood pressure, etc. in the growth model?
Is any other approach more suitable for this kind o... |
I am using ccf to find a correlation between 2 time series. I am getting a plot that looks like that:
Note that I am mainly interested in correlation for the lag=0.
Questions:
Do interpret it correctly that there is a cross-correlation for the lag=0, as for this lag the cross-correlation is above the dotted line?
Ho... |
As part of my analysis of heavy-tailed time series of company returns, I would like to check whether extreme returns exhibit serial dependence, i.e. if extreme events are followed by extreme events.
For now, I am only interested in testing uni-variate time series, i.e. I just want to check if an extreme return of compa... |
I have a process under test (approximately normal distributed), and I have calculated $C_{pk}$ (a process capability index) for this process. These values are compared to reference values which are of the same process under some condition, and its $C_{pk}$ is present.
What do I get when I subtract: $C_{pk}$(test) $-\ C... |
"What is the difference between "significance" and "contribution" of individual variable to a outcome variable?
How to address this while creating a prediction model basically.I understand contribution made by a variable towards the outcome, which shoudl be considered while creating a model but not sure of how "signif... |
I would like to predict the category of the provided data by using K-NN algorithm. Here is an example of the training data set
category sex age
1 male 19-20-21
5 female 40-41-42
x male 18 <- provided data
the features of the training data set could be numbers such as age but ... |
The well known "German tank problem" shows how to answer the question: "If I have tanks which have an increasing serial number, and I see a sample of tanks and record their serial numbers, what is the likely total number of tanks". This question is analogous but is where there is no ordering to the observations, eg wi... |
Animal model (frequently used in animal science and sometime in human or plants) is mixed model with:
$y$ = $X$$b$ + $Z$$u$ + $e$
y is observed values for any quantitative variable, $Xb$ is fixed effects terms while $Zu$ is random effects, and $e$ is residual. Covariance between terms of $u$ can be defined as:
$G$ = $... |
In OLS, the conditional mean $E(Y \mid X)$ is modeled as a function of some regressors $X$, i.e.
$$
E(Y \mid X) = X \beta.
$$
Is there a regression technique that allows to model the conditional trimmed mean of $Y$?
(Least absolute deviations will lead to the extreme case of maximal trimming.)
Is there a direct rela... |
I'm using this python script for Holt-Winters forecasting (https://gist.github.com/andrequeiroz/5888967) that I believe chooses values of alpha, gamma and beta via RMSE optimisation.
Sometimes the output gives strange values, 1.0 and 0.0 are very common. However, I know from some literature that values should typically... |
I have collected player match history statistics like runs, shoots, passes and such. I would like to come up similar attribute values (psychical, mental, technical) to Football Manager game or footballdatabase.eu . What would you suggest to come up such a statistical formulation for each attribute based on known numeri... |
I have a binary classification problem which is very unbalanced - it can have 98% of data from one class. Which classifiers work well with this sort of data?
I have an unlimited supply of training data, since I produce it using a pseudo random number generator. However, I found that to get a neural network to produ... |
There is multiple-choice test and for every possible answer option my algorithm gives some score of how much it is likely to be the right one and picks the one with the maximal value as the answer.
If there are 4 options A B C and D and the corresponding scores are for example 3.34, 4.01, 2.78 and 3.01 then the answe... |
I am analyzing an experiment comparing the effect of treatment A vs. B on the matched subject. Here are the measurements on 34 subjects:
A B
-1.15 -1.16
-1.13 -0.94
-0.16 -1.18
-0.37 -1.20
-1.09 -1.20
-1.20 -1.20
-0.94 -1.20
-0.84 -1.16
-1.18 -1.17
-1.20 -1.11
-0.78 -0.68
-0.83 -0.73
-1.05 -1.20
-0.71 -1.20
0.07 ... |
For example we have 2 algorithms from R: SVD and irlba and I want to compare them int terms of speed,memory and precision.
But I don't understand how to compare output of algorithms, they must be differ on some epsilon, but how to define epsilon?
And why sign of principal vectors can be different?
Here is some test cod... |
I have read that there are projection based methods to accomodate for new user's ratings or for the ratings for a new item in SVD.
However, I want to know how to update my feature space for change in ratings by existing users incrementally. That is, if user U has a feedback of 'r1' for item I, and if the feedback chang... |
My problem is as follows:
I have 2 measuring devices, both using different measuring techniques, each trying to quantify properties of objects passing their measurement area. The devices measure the objects at the same time. For this particular problem I'm only interested in the number of objects each device is able to... |
I have two datasets and I would like to know if they are significantly different or not (this comes from "Two groups are significantly different? Test to use").
I decided to use a permutation test, doing the following in R:
permutation.test <- function(coding, lncrna) {
coding <- coding[,1] # dataset1
lncrna <-... |
Background: Many people are familiar with the so-called Birthday "Paradox" that, in a room of 23 people, there is a better than 50/50 chance that two of them will share the same birthday. In its more general form for n people, the probability of no two people sharing the same birthday is $p(n) = \frac{365!}{ 365^n *(36... |
I'm a master CS student in a German university now writing my thesis. I will be done in two months I have to make the very hard decision if I should continue with a PhD or find a job in the industry.
My reasons for doing a PhD:
I'm a very curious person and I feel I still lack too much knowledge. I want to learn a lot... |
I'm running the Boruta algorithm with a $179\times 36$ predictor matrix and a numerical response. Most of the variables have a score going to -Inf. Should I conclude there are not important or there's a problem ?
bor <- Boruta(X,y)
> dim(X)
[1] 179 36
> bor$ImpHistory[,1]
[1] -0.33842437 0.03724477 0.77207194 -0.1... |
I am working with clinical data with 7 groups that constitute my independent variable and a not normally distributed dependent variable. I know I have to use KW test to check for significant differences between my groups. The problem is that 3 of the 7 groups have an n=1.
I know KW is not as sensitive to unequal sample... |
I have two scales measuring the same construct, and I would like to know which scale is distributed more closely to a normal distribution. There are various possibilities for comparing a distribution with a normal distribution (e.g., kolmogorov-smirnov test, etc.), but is there any possibility to compare the deviance f... |
I try to compute the marginal and conditional $R^2$ for a GLMM using a negative binomial distribution by following the procedure recommended by Nakagawa & Schielzeth (2013) . Unfortunately, the supplementary material of their article does not include an example of a negative binomial distribution (see the online versio... |
I'm a newbie at stats/machine learning so please bare with me.
This plot is a result of an experiment that attempts to find the perceived angle of a stimulus.
The stimulus is placed at a position (see the X axis of the plot) and participants reply with the perceived angle (see the Y axis)--in other words, the question... |
I have some data examples. If I split the data into three parts and the have some scores for each example of the three parts and then calculate individual AUCs for the three parts
In the next case, I keep all the data examples in one cluster, use the same scores as before and calculate the AUC over this whole dataset. ... |
I'm running linear regression model on a post-intervention test score controlling for pre-intervention test score. I used Box-Cox transformation on the post-intervention test score to normalize it. Since there no normality assumption imposed on independent variable, I plan not to transform the pre-intervention test sco... |
I am running an analysis where I have 2500 cases and 2500 controls. The cases have disease A, and the controls do not. I am trying to see if having disease A increases the odds of various diseases. For the sake of simplicity, we can focus on one disease, call it disease B.
D = 1 if disease B present, 0 otherwise
E = 1 ... |
I want to meta-analyse some studies which I've already collected and review. However, the studies did not used control groups, due to the types of questions used. How can I do the meta-analysis or which software can I use?
Briefly my problem is as follows:
I reviewed studies which the goal was to evaluate the perceptio... |
My data is a table of cosines and I want to analyze it with hclust, which works on squared Euclidean distances.
shall I do:
d <- dist(mydata, method = "euclidean")
fit <- hclust(d, method="ward")
or rather:
d=(dist(mydata))^2
fit <- hclust(d, method="ward")
I don't know how to treat my cosines with hclust, which needs ... |
What I am trying to do is to fit a log-normal distribution to a data-set, and then determine confidence and prediction intervals for the fitted distribution - not just for the mean and sd estimates.
My final goal is to be able to say that if we repeated a set of measurements, then 95 % of the values would fall below so... |
My only experience with Machine Learning is Andrew Ng's Coursera course, but I did work through that just fine and passed with 100%.
I decided to practice by making up some problems and solving them. My idea was to create a simple tic tac toe game, and have it just play millions of random games, and use the data to le... |
I am using randomForest in R for regression, I have many categorical predictors (all of them have the same 3 categories (0,1,2)) and I want to see which of them can predict the response (continuous). I am trying this with many different response variables (one at the time) and all the models have a very low explained v... |
I applied the DW test to my regression model in R and I got a DW test statistic of 1.78 and a p-value of 2.2e-16 = 0.
Does this mean there is no autocorrelation between the residuals because the stat is close to 2 with a small p-value or does it mean although the stat is close to 2 the p-value is small and thus we re... |
Could you please give me some hints for the exercise below?
Suppose we toss a coin once and let $p$ be the probability of heads. Let $X$ denote the number of heads and let $Y$ denote the number of tails. I have to first show that
$X$ and $Y$ are dependent
and afterwards if we let $N\sim $Poisson $(\lambda)$ and toss... |
I want to generate survival time from a Cox proportional hazards model that contains time dependent covariate. The model is
$h(t|X_i) =h_0(t) \exp(\gamma X_i + \alpha m_{i}(t))$
where $X_i$ is generated from Binomial(1,0.5) and $m_{i}(t)=\beta_0 + \beta_1 X_{i} + \beta_2 X_{i} t$.
The true parameter values are used as ... |
I am associated with a teaching hospital, and medical students are frequently administered tests and measures to monitor their progress. I am not talking about exam results here, but of psychological measures that do not figure on their transcripts. For "ethical" reasons, researchers typically need to annonymize the re... |
I'm working on a project in which I use a 'Generalized Spatial Two-Stage Least Squares' model, mostly known as
$y= X \beta + \lambda W y + u$ and $u = \rho M u + \epsilon_n$
where $y$ and $u$ are vectors.
The beta's are the general regressionparameters (for instance, from linear regression). $W$ is a weight matrix, whi... |
I am trying to create a tennis simulator. Specifically I am trying to make a 'random' simulator so that I can see how many times streaks of wins or losses occur, and then compare this to historical data to see if 'The Hot Hand Effect' exists or not. i.e. Do streaks of wins or losses occur more or less often than would ... |
I'm analyzing a simple linear regression $Y_{i}$~$a+b*X_{i}+e_{i}$, with $e$ being normally distributed with known variance and where I have normal priors on $a$ and $b$. I'm trying to piece together an approximate closed form solution for the variance of my posterior of $a$ as a function of sample size for the purpose... |
Let's assume a hypothetical contest. You can join the contest by submitting a ticket, but multiple tickets can also be submitted by the same person. (For the purpose of this question, let's say there are 5000 tickets entered and 300 applicants). Twenty applicants can win, no person can be selected twice. What are the c... |
We have cohort data and a rare exposure which we are matching to controls in a large epidemiologic dataset. The matching variable is a deidentified neighborhood indicator (cluster) which guarantees that individuals within clusters are highly correlated. This is a social epidemiology type of analyses looking at health r... |
I just watched this video: https://www.youtube.com/watch?v=Fk02TW6reiA
It shows a formula to calculate an answer for the following problem:
There are 2 customers expected every 3 minutes in a store
Therefore there are 6 customers expected every 9 minutes
What is the likelihood of there being 4 or less in the store in ... |
Do you know of an approach/package that facilitates mixed model regression of ordinal dependent variables on multiply imputed datasets in R?
Ideally, the function takes:
a list of multiply imputed datasets
a list of target variables (dependent variables, one or more)
a list of factors (independent variables, one or mor... |
I am trying to calculate the sample size for a new study based on a previous one.
The previous study compared means using a t test.
I have: the means, the t test result, the confidence interval of the mean difference, and the effect size.
However, the calculator that I am using to get the sample size requires the sta... |
I have a table of similarities expressed through cosines and am trying to do some cluster analysis in R, using hclust and method=ward.
First I need to turn cosines into squared Euclidean distances, knowing that $d=2(1-\cos)$. No problem. I turned myData into myDataDist.
But then when I use hclust (myDataDist, method=wa... |
I'm having trouble understanding how the varImp function works for a randomForest model with the caret package. In the example below feature var3 gets zero importance using caret's varImp function, but the underlying randomForest final model has non-zero importance for feature var3. Why is this the case?
require(random... |
I'm working on modeling sales for tickets for a specific event over time. The issue that I'm having is that the inventory does not replenish, so I can't have my model predicting over what I actually have available. So for example, if I have 100 tickets available 30 days out and 20 sell, the remaining pool I have to sel... |
I am working on creating a cluster analysis for some very basic data in r for Windows [Version 6.1.76]. The groups themselves are countries and then I have 2 column with continuous numerical variables. I have applied a Ward Hierachical Method to the data
# Applying Ward Hierarchical Clustering
d = dist(conversion_set,... |
I hope the title is self-explanatory, but essentially I want to know which method is better: does it make sense to use a PCA to reduce a number of response Y variables and then conduct a univariate multiple regression OR conduct a multivariate multiple regression using all response variables as they are?
My variables a... |
I have the following, which I am attempting to model with a particle filter.
\begin{align*}
y_{i,t}&\sim\mathrm{Poisson}\left(\lambda_{i,j,t}\right)\\
y_{j,t}&\sim\mathrm{Poisson}\left(\mu_{i,j,t}\right)
\end{align*}
\begin{align*}
\lambda_{i,j,t}&=\delta_1\exp\left(\alpha_{i,t}-\alpha_{j,t}\right)\\
\mu_{i,j,t}&=\delt... |
Since Dunnett corrects for multiple comparisons I would assume the p-value would always be higher than a direct two-sample t-test. I came across a situation where this was not the case. Possible reasons why?
Example:
library(multcomp)
a1=data.frame(group=rep(c('a','b','control','d'),each=3),
y=c(13.3,13... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.