0
votes
0answers
6 views

Pooled likelihood in R, how to code it?

I don't really know how to construct the following likelihood in R. I have panel data for several individuals. Each individual is observed over time and I have several observations for each ...
0
votes
0answers
8 views

Post Hoc test after lme

I am trying to run a Post Hoc test (glht) after a linear mixed model (lme) in R. I was ...
0
votes
1answer
9 views

Potatoes in space! - Correlating sets of unordered 4d data

(I asked this question some time back but got no answers or comments. It's a pretty big question so therefore I thought dividing it into several questions might make it easier to answer. The original ...
0
votes
0answers
4 views

Multinomial logit model when share of each choice is known for an aggregate area

I've been reading an academic paper where multinomial logit has been used to model railway station choice. It's an aggregate model where the ‎observation unit is postcode area in the Netherlands (each ...
0
votes
0answers
10 views

Years of schooling [on hold]

I have year highest level of education was attained and the year of birth. From that I would like to extract total years of schooling as follows: Year highest level of education was attained- year of ...
0
votes
0answers
6 views

Holdout MAPEs in SAS PROC ARIMA and SAS Forecast Studio don't match

I have a Time Series (ARIMA) model in SAS, modelled using proc ARIMA which I am trying to replicate in SAS Forecasting Studio. What I see is that The parameter estimates in both are very similar ...
0
votes
0answers
8 views

multiple regression analysis & ANOVA

I have independent variables classified in to 5 groups. to measure dependant variable. through SPSS, I am using a multiple regression analysis to predict a value of dependant variable (Y) based on ...
0
votes
1answer
9 views

Constructing CI for log OR based on OR

I have in my data the mean OR and its standard deviation (computed by Delta method). I have a question about constructing a 95% CI for the log OR based on this data (based on asymptotic normality ...
1
vote
0answers
30 views

Cross-Validation: how to choose k for small datasets (n=900)?

In a binary classification task, I have a small training set (n=900, 9 features). The two groups are not symmetric (1 = 560, 0 = 340). I also have a test set (n=400) where I don't know the class ...
0
votes
1answer
23 views

Regarding 10 fold cross validation

I am bit confused regarding the application of 10 fold cross validation steps. To be specific, I have made a multiple regression model (except model validation) and the model does not predict ...
0
votes
0answers
8 views

Time series tracking queue optimization problem

In order to track prices of many different products from different sources, I must optimally schedule a group of trackers dedicated to price collection (ie. collect one price at a time for each ...
0
votes
1answer
20 views

How to analyze my Likert-scale data

I am collecting data from a group of about 189 police officers on a 5-point Likert-Scale (measuring how much the police officers accept rape myths). I have no idea which tests to use to analyse my ...
0
votes
0answers
2 views

How to consider SSE as small or large value when you are ruuning K-Means large data set?

I am running K-means developed in java on 1M records with 15 variables then how to quantify minimum size of SSE, Always I am getting 5 digit no and with one open source software also I am getting the ...
0
votes
0answers
14 views

GLS estimator of beta

I know how to derive the GLS estimator of beta (theoretical GLS), but there a slight change to the question and i am not quite sure how to go about it. A researcher has reason to believe that the ...
0
votes
0answers
8 views

Multiple variable analysis for curvilinear seasonal data

This question is related to How to analyze curvilinear seasonal data I have data like following: ...
0
votes
0answers
8 views

quadratic endogenous variables in R

As part of ongoing research I'm to test a certain model on some data. One of the questions asked (c.f. one of the hypotheses) involves estimating the quadratic term of an independent variable (in R). ...
0
votes
0answers
5 views

e1071: does the tune function do the scaling?

I'm using tune to choose the optimal gamma and cost hyperparameters for a RBF SVM. As feature scaling is essential, my question is: does the tune function do the scaling?
0
votes
0answers
7 views

How to choose right step size for alpha in the Elastic net using glment package?

I'm using glmnet to learn different Elastic net regression.as you know, Elastic net would perform at least as good as Lasso regression. but it's not the case for me and Lasso perform better than ...
0
votes
0answers
7 views

Optimisation of Fans In An Account

I have daily facebook data (past 3-4 months) of a company. I know how many fans they gained per day, fans they lost per day, engagements and so on. These are split into 'paid for', 'free from the ...
0
votes
1answer
24 views

What type of test should be used?

What kind of test would I use to find the answer to this? Is there evidence that cereals promoted in an in-store circular have a higher average number of units sold per store than cereals not ...
0
votes
0answers
14 views

Examples when MSE is a bad measure of parameter estimation?

I would like to know simple examples when using the MSE as a measure of parameter estimation is bad and which metrics can we use?
-2
votes
1answer
29 views

How to Calculate the 95% CI of a data

How to calculate 95% CI data for the following 11 readings: 102.61 100.31 107.04 95.00 105.61 97.75 107.76 96.56 92.90 96.98 102.03 Average = 100.41, Std. dev. ...
1
vote
0answers
18 views

Regression with related coefficients

I've worked out that some physical process has the form $y = ax_1 + (1-a)x_2$, and would like to perform regression to find $a$. I thought about multiple regression of $y$ on $x_1$ and $x_2$ and ...
0
votes
0answers
7 views

Distance measure for categorical attributes for k-Nearest Neighbor

For my class project, I am working on the Kaggle competition - Don't get kicked The project is to classify test data as good/bad buy for cars. There are 34 features and the data is highly skewed. I ...
0
votes
0answers
12 views

How to prepare a dataset for text classification

I would like to compare some algorithms for performing sentiment classification (Naive Bayes, SVM, and ...
0
votes
0answers
10 views

Assessing variability in a multiilevel model

This looks like a classical problem, but I couldn't find an answer, maybe because I use wrong keywords in my search. Let's assume you are tracking company monthly revenue values over a couple of ...
4
votes
1answer
106 views

How does “Fundamental Theorem of Factor Analysis” apply to PCA?

I'm currently going through a slide set I have for "factor analysis" (PCA as far as I can tell). In it, the "fundamental theorem of factor analysis" is derived which claims that the correlation ...
0
votes
1answer
21 views

Pearson Correlation has quizzy results

I investigated experiments with SPSS and following values were out. I have a question that in which case is possible to get Feature 1 in Group A+B as significant p<.05 while either Group A and B ...
1
vote
0answers
9 views

Q: Exploratory factor analysis in R

I am trying to do an exploratory factor analysis (EFA) in R with oblique (promax) rotation. From Wikipedia, In oblique rotation, one gets both a pattern matrix and a structure matrix. The ...
0
votes
1answer
20 views

Finding regression coefficient only with matrix correlation

How do I find Regression coefficient if data provided is only matrix correlation table? Here is example for x1 matrix correlation. ( I also have x2,x3,x4, but only provided x1 in here) for the sake ...
2
votes
1answer
26 views

Would multiple t-tests be appropriate

I have reaction time data from four different age groups, and I am hoping to prove that reaction time improves with age. I know that ANOVA would be preferred to determine if age has an effect, but I ...
0
votes
0answers
16 views

Need help with multivariate multiple regression models

I want to predict more than one dependent variable by running one model, I thought that we can use Multivariate Multiple Regression Model. But I don't know how to do it with Excel or R. Can anyone ...
0
votes
0answers
18 views

Random Effects Model - composite error

In a random effects model, the composite error is defined as $\epsilon_{it} = \alpha_{i} + u_{it}$ where $\alpha_{i}$ is uncorrelated with $u_{it}$; the $u_{it}$ have constant variance and are ...
0
votes
0answers
21 views

Use a t-test to see if true mean of a population = 42. (sig. level of 0.05) Distribution of the population is not normal but right skewed. Next step? [on hold]

A. You should not use the t-test since the population does not have a normal distribution. B. You may not use the t-test. The t-test is robust to non-normality for confidence intervals but not for ...
0
votes
0answers
28 views

Two-way analysis of variance model: the main effects are not-significant, but the interaction term is significant. What is the next step? [on hold]

Remove the main effects factors. Remove the interaction effect factor. Remove all the factors. Don’t remove any factors.
0
votes
0answers
17 views

optim() for multi variable returns values on the boundary in R

I would like to use function optim() in R to minimise the target function. The two optimised parameters both have constrains. I have created a test sampel data. ...
1
vote
1answer
34 views

What kernel function can be used to project data into a feature space that is a “circle”?

I am working with cyclical data (Days 1-7, hours 1-24). I want to project it into a feature space that can understand that 1 and 7 are close days and 1 and 24 are closer than 22 and 24, etc, and then ...
1
vote
0answers
18 views

Generalized linear model using quasi-likelihood

I am going to fit a model using quasi likelihood, (because the dispersion parameter > 1, y is a binary data). But when I ...
3
votes
1answer
42 views

Geocoded node map visualizers?

I'm looking to create a map like the one below for shipment volume between cities (which I have geocoded). I found the image below created in Gephi, however I'm wondering what other tools exist that ...
1
vote
0answers
11 views

Important Variable Direction in Random Forests

In a logistic regression a positive/negative beta tells you that the direction that variable works. Is there anything in the Random Forest variable importance measures that indicates the direction of ...
0
votes
1answer
20 views

Chi-squared Vs Mutual information

Is chi-squared feature selection better than Mutual information based feature selection mechanism?
0
votes
0answers
9 views

Data set with negative silhouette

I want to construct data set 𝐷 in 2 dimension, with a clustering {𝐶1, 𝐶2} computed by k-means with the property: which full fills the condition: There exists a point $𝑜∈𝐷$ with a negative ...
2
votes
1answer
22 views

Interpreting a logarithmic difference as an error

This is a fairly simple question but I can't figure out which one is the correct approach. In astronomy it is usual to report age values via their base 10 logarithms instead of the actual value. So a ...
0
votes
0answers
13 views

find posterior distribution parameters by simulation

I've calculated the posterior distribution parameters of a variable X analytically and by simulation. But doesn't mach. X ~ Normal(mu,s=6).And the prior distribution of X is a Normal(mu=100,s=20). As ...
2
votes
0answers
19 views

Simple Linear Regression - Prediction Interval and Non-constant variance

I have two questions about a simple linear regression model. I want to use test1 scores to predict test2 scores. I am using R software. x=test1, y=test2, Let's say that both tests are scored from 1 ...
1
vote
1answer
27 views

Result of K-Means Algorithm Not Desired

I am learning about K-means algorithm, and I have generated a dataset with 150000 data points, with 10000 points per cluster. (Scatter plot at the bottom) When I run K-means on the dataset, I first ...
1
vote
0answers
10 views

Choice of grouping in Chi-Squared test

Let's say I have a categorical variable. I try to test the null hypothesis that each category has the same count (of something) using a Pearson's Chi-Squared test. I may not be able to reject null ...
0
votes
0answers
17 views

Using Naive Bayes as vectorizer and SVM for classification in Java [on hold]

0 down vote favorite I am trying to classify legal case documents which are in text format, in different folders like Civil, Land, Criminal, e.t.c, I intended using Naive Bayes as Vectoriser to get ...
3
votes
2answers
47 views

Transformation Chi-squared to Normal distribution

The relationship between the standard normal and the chi-squared distributions is well known. I was wondering though, is there a transformation that can lead from a $\chi^2 (1)$ back to a standard ...
1
vote
0answers
13 views

Setting up data sheet for ANOVA

I am trying to set up a data sheet for my project, which is on the number of men and women on each floor in a dorm. My hypothesis is that each floor (and therefor the dorm as well) will have more ...

15 30 50 per page