instruction
stringlengths
9
38.7k
The $\chi^2$ goodness-of-fit test uses the following statistic: $$ \chi_0^2=\sum_{i=1}^n\frac{(O_i-E_i)^2}{E_i} $$ In the test, granting that the conditions are met, one uses the $\chi^2$-distribution to calculate the p-value that given the $H_0$ is true one would observe such a value in a representative sample of the ...
Given a distribution A with a mean of $\mu_1$ and standard deviation of $\sigma_1$, how can I generate: Distribution B with a mean of $\mu_2$ and standard deviation of $\sigma_2$ and a correlation of $X_1$ with distribution A Distribution C with a mean of $\mu_3$ and standard deviation of $\sigma_3$ and a correlation ...
I'm watching a Machine Learning course offered by Alex Smola at http://www.youtube.com/watch?v=OmJbGrQ93CA 14 minutes in and im confused. At that part he starts to explain Linear Regression. I've watched other introduction to Machine Learning courses and also feel lost. I have difficulty understanding the equations eve...
I am debating how to construct an interaction plot with my supervisor. We have a dataset comprising 8 independent variables. We are trying to analyse the effect of 2 of the 8 independent variables on the dependent variable. My supervisor is suggesting that to draw an interaction plot, we first fit a full model using al...
If we group examples with and without class labels using clustering techniques by treating the class as an ordinary nominal attribute, the resulting clusters can then be used for classifying test instances by assigning the most frequent class in each cluster to test instances that fall into that cluster. Why is this me...
I run the following linear model in R : lm(formula = NA. ~ PC + I(1/SPCI), data = DSET) The p-value for each predictor is significant, and it works fairly well with respect to most of the assumptions in linear regression, such as: Normal distribution of errors. High correlation between predicted values and estimated ...
Background I have a data set of patients who were operated on at two different hospitals, A and B. Lymph nodes were removed from each patient during the operation and counted, this is saved as LN_reviewed for each patient. I want to know how much variability there is in the lymph node number that is not accounted for b...
Consider the following problem: I have two sets of lights and I am interested in the lifetime of the lamps. Set A has a high mean value but also a large variance. Set B has a lower mean but also a lower variance. I want to find 'the optimal combination' of mean and variance. Ideally, I want a high mean and low variance...
I have 16 experiments performed under different conditions and I would like to compare them between each other. Each experiment has 5-6 samples (cells). Each cell produces hundreds of data points each (adhesion force data). When I make a histogram of the log adhesion force it seems I have a skewed distribution. I have ...
I have a call center data (such as one below) that has call data collected every 15 minutes. For a day the periodicity is 96 and for a week the periodicity is (7 x 96 = 672). If I would like to forecast this data I can use models that handle multiple seasonality such as DSHW, TBATS and BATS in R forecast package. As y...
A classic example for students, when teaching Bayesian statistics, is to make inference on the mean parameter $\mu$ of a normal distribution, when it has a prior normal distribution. I would like to find a real-life example of why such a construction would be not only elegant, but also useful. Can anyone direct me to s...
The question is as in the title. The GMM estimator (in my Econometrics notes) is as follows: $\hat \delta_{GMM}(W_n) = (S'_{xz} W_nS'_{xz})^{-1}(S'_{xz}W_ns_{xy})$
Suppose we have a Cox proportional hazards model with covariates including the patient's age, where the log hazard ratio for age is positive and significant, indicating increased risk for outcome in older patients. Then, with the same data and covariates we run a relative survival model. The (raw) coefficient for age n...
Is there a simultaneous test for the equality of two proportions when $k$ binomial properties are being tested? Example: Two groups of large size $n_1$ and $n_2$ are asked if they agree or disagree on 10 different questions. For any one particular question you can do a $Z$-test for the equality of proportion, but that...
So basically my data is the following: Data point #, Date, Time, Temp and Salinity. Loggers logged over 9 months, and I need to summarize each day by minimum temperature and salinity, as well as max, range, and mean. The number of data points are not consistent each day, because some data needed to be pulled out becaus...
I have estimated a multivariate regression line using OLS, and all 3 variables were found to be statistically significant. $$d(NER)=.75+.08\times d(CA)+.002\times d(TB)-.003\times d(OFR)$$ Here, $NER=$ Nominal Exchange Rate (in No. of local currency exchange with $\$$1 USD), $CA=$ Net Capital Inflows, $TB=$ Trade Balan...
I was working through the lab on ridge regression and LASSO in ISLR and I came across a strange behavior in the cv.glmnet function. When I followed the lab as written I got the following set.seed(1) train <- sample(1:nrow(x), nrow(x)/2) test <- (-train) y.test <- y[test] set.seed(1) cv.out <- cv.glmnet(x[train,], y[tr...
I wish to evaluate the following quantity $\log\int_\mathcal{R}p(y|\beta)p(\beta)d\beta$ where $p(y|\beta)=exp(-|y-\beta|)$ and $p(\beta)=\mathcal{N}(0,1000)$. The $y$'s are known. You could probably integrate this using the probit $\Phi$ function, however, my question is How can you sample from the posterior $p(\beta...
Let's say you have databases $A$ and $B$, and a population of users $\left\{u_1,\ldots,u_n\right\}$. You're building a social network graph of $\left\{u_1,\ldots,u_n\right\}$. From database A, you get an edge weight feature $a(i,j)$ which connects user $i$ to user $j$. From database B, you get a similar edge weight ...
I am learning elementary statistics. I found an exercise, which asks to compute the desired sample size for some interval for standard error. The solution, in class slides, first assumes the sample size to be computed is big enough to be approximated by a normal distribution (central limit theorem), and uses it to get ...
With respect to the change point detection for data stream, there is a concept of "average run length", which is discussed in the CPM package manual: I am not clear why that "average number of observations" should equal to $\frac{1}{\alpha}$.
I am not sure what the appropriate title for my question is, so I am open to suggestion/correction. Now, the question: I observed a daily series $X_t, t=1,...,T$ also series $Y_t, t=1,...,T$. My aim is to use $X$ to predict $Y$ in the future. Specifically, I will observe $X_t, t=T+k,...,T+K$ where $k$ can be large...
Homogeneity of clusters can easily measure by calculating the sum of squared error (SEE): $$SSE = \sum_k \sum_{i \in c_k} \| x_i - \overline{c_k} \|^2$$ where $\overline{c_k}$ is the mean vector of cluster $k$. A disadvantage of this measure might be that it favors compact clusters. Another idea to emasure cluster homo...
When a set of data are binomial I have a lot of methods available to me (Wilson score interval, Wilson score interval with continuity correction, Jeffreys interval, Clopper-Pearson interval, Agresti-Coull Interval) other than the standard Wald interval estimation method (see Interval Estimation for a Binomial Proporti...
I'm unclear how the shrinkage parameter works in Adaboost. I understand the concept of shrinkage in the theoretical sense related to ordinary least squares, but I'm not sure how to interpret this parameter in relation to Adaboost.
Consider the R example below: plot( hclust(dist(USArrests), "ave") ) What exactly does the y-axis "Height" mean? Looking at North Carolina and California (rather on the left). Is California "closer" to North Carolina than Arizona? Can I make this interpretation? Hawaii (right) joins the cluster rather late. I can s...
Currently, I am looking for the correct (or suitable) statistical method to compare 4 very large datasets (n = 31 million each), that are based on an experiment where a continuous variable was measured in response to 4 different discrete temperatures. Each data set has pretty much the same median, and the means and sta...
Let $X_1, ... , X_n$ be iid with common density $f(x) = ax^{a-1}$, $ 0 < x < 1$, where $a$ is an unknown parameter $a > 0$. (a) Find the MLE for $a.$ (b) Show that $W = - \sum^n_{i=1} \ln X_i$ has a Gamma distribution with parameters $\alpha = n$, $\beta = 1/a$. Hint: Use the mgf. (c) Show that $2aW$ has $\chi^2 (2n)$...
Before I start be easy on me I am not a stats person - I am just on the quest for information :-) I was tasked to generate many graphs for someone who wanted to see if the data presented with a bell shape curve vs a graph with > 1 peak - this was no biggie but silly me I thought maybe it would be easier to run the dat...
I have a p-value that I generate via resampling. Resamples = 5000 Positive findings = 1000 positive findings P-value = 1000/5000 = 0.2 How can I compute the 95% confidence interval for this p-value? I would assume it's a function of the number of positive findings and resamples 1000 and 5000 in this case, respectively....
I have a continuous response variable $Y$ that I have broken down into four categories, {Low, Medium, High, Very High}. I'd like to model $Y$ against a binary variable $X$. Calculating the proportion of $X=1$ for each of the four categories, I notice that the proportion of $X=1$ is low in the first and last category (L...
I just did a binary linear regression in R with a dataset that has 100000 lines. The output of the regression is, that almost every parameter is highly significant. I wouldn't expect that when I look at the boxplots. Did I do something wrong in my code or can that be right? Call: glm(formula = damage ~ dist_gerst + dis...
Can the approximating distributions for various factors in Expectation propagation be different distributions but still from the exponential family. For example, I have the following posterior form: $$ p(w, \lambda, \phi) = p(\phi)p(\lambda)p(w|\lambda) \prod_{i}p(y_{i}|w, \phi, \lambda) $$ So, I need to approximate ea...
I'm working through Gelman and Hill, Data Analysis and Regression using Multilevel/Hierarchical Models (2007), using the arm package, and trying to relate multilevel models to the econometric framework I'm more familiar with. I expected a multilevel model with a non-varying slope coefficient and a varying intercept coe...
How could we know if the coefficients and R-Squared in the following table are reliable and are correctly computed or not? Is there any way to validate the correctness of the results, considering that we do not have access to the data set? The descriptive analysis of the original variables is as follows, but in regre...
I have the following table in R df <- structure(list(x = structure(c(12458, 12633, 12692, 12830, 13369, 13455, 13458, 13515), class = "Date"), y = c(6080, 6949, 7076, 7818, 0, 0, 10765, 11153)), .Names = c("x", "y"), row.names = c("1", "2", "3", "4", "5", "6", "8", "9"), class = "data.frame") > df x ...
I had the possibility to try some regression on Football data. I receive the following ouput: I receive a quite good R² but I wonder if it´s important that the intercept has no significance and a rather high std. error. I also get the following qqPlot and I assume, my linear model is acceptable. Maybe someone could h...
I want to test the fixed and random effects of some covariates on a discrete variable with non negative values. In exploratory analysis I fitted a null Poisson GLM and an null Poisson GLMM. However, the GLMM underestimated the mean value of the response variable even after inclusion of fixed and/or random covariates. I...
Does anyone understand the difference between weak likelihood principle and strong likelihood principle?
I am trying to find if there is any way to get the true data from multiple noisy versions, but the true data has a peculiar property. Problem Statement Consider a matrix $F=[f_1, f_2, ... , f_n]$ where $f_i$ is 1984-dimensional. Now, each $f_i$ can be expressed as $f_i=H^i+n_i$. Here $H^i$ is the true (unknown) data an...
I have a task of Relationship extraction. There are some set of predefined relations in the corpus. I need to train classifier to recognize the type of relation or the lack of relation between every pair of nouns. I chose to use a multi-class implementation of SVM. The problem was that I have different number of exam...
I have to test which factors influence game damage in fields. I mapped areas with damage and those without. It was not always possible to map 100% of a field, so there are also areas where it is unsure. Since the "unit" damage is not objective because it is not possible to determine where one ends and the next starts, ...
I have used Mean square error value is one of the parameter to analyse.I also noticed that every time i run a design i get different Mean square error value.Not able to identify the reason . What would be other parameters used to analyse?
Working in R, how can I specify a mixed ANOVA with multiple between- and within-subjects factors in such a way that it's amenable to adding a covariate in a subsequent analysis? Also, ideally, I would like to use type 3 SS because that's what I'm used to. I originally did my analysis (without the covariate) using ezANO...
If we have to choose between two regression models, one has a correlation coefficient of 0.95 and the other has a correlation coefficient of 0.75. Is it always the case that the first model is to be preferred over the other if we are interested in optimizing predictive performance?
I got a warning message when I was trying to do anova for two nlme::gls objects. Here is an example: require(nlme) set.seed(123) y<-rnorm(100,10,2) x1<-rnorm(100) x2<-sample(1:5,100,T) x3<-rt(100,20) x4<-rbinom(100,1,0.3) fit1<-gls(y~x1+x2+x3+x4,correlation=corAR1(form=~1|x4)) fit2<-gls(y~x3+x4,correlation=corAR1(form=...
I have a bayesian network with conditional probabilities as given by the diagram and I have converted it to factor graph. I just sort of read about factor graphs. Can someone be kind enough to let me know if I have done the factor graph representation correctly? I really appreciate your help. EDIT: After the comment...
I am trying to estimate parameters defining the rate of a Poisson bivariate distributions. (...following Maher's 1982 paper "Modelling association football scores"). Basically I have random variables $Z_{i,j} = X_{i,j}\cdot Y_{i,j}$ (here the $X_{i,j}$ and the $Y_{i,j}$ are independent and follow Poisson distributions ...
I admit that my algebra is rusty. Can someone please explain how the middle part of the top equation is transformed to the middle part of the bottom equation (both are highlighted in black).
Here's the problem: A (Laplace) coin with sides $0$ and $1$ is tossed twice, each time independently from the other. Let $f:=$ maximum of both results $g:=$ sum of both results. What is the expected value and variance of $f$ and $g$? I think $E[g]=2*\frac{1}{4} + 1*\frac{1}{2}+0*\frac{1}{2}+0*\frac{1}{4}=1$, but I'm no...
I was reading the discussion on Hacker News about the use of the standard deviation as opposed to other metrics such as the mean absolute deviation. So, if we were to follow the principle of maximum entropy, what kind of distribution would we use with if we only knew the distribution's mean and the mean absolute devia...
I would like to manually fix a certain coefficient, say $\beta_1=1.0$, then fit coefficients to all other predictors, while keeping $\beta_1=1.0$ in the model. How can I achieve this using R? I'd particularly like to work with LASSO (glmnet) if possible. Alternatively, how can I restrict this coefficient to a specific...
Recently, I have been studying autoencoders. If I understood correctly, an autoencoder is a neural network where the input layer is identical to the output layer. So, the neural network tries to predict the output using the input as golden standard. What is the usefulness of this model? What are the benefits of trying ...
I am interested in the following one-sided Cantelli's version of the Chebyshev inequality: $$ \mathbb P(X - \mathbb E (X) \geq t) \leq \frac{\mathrm{Var}(X)}{\mathrm{Var}(X) + t^2} \,. $$ Basically, if you know the population mean and variance, you can calculate the upper bound on the probability of observing a certain...
This is a general question about the definition of true discovery rate (TDR) and true positive rate (TPR). It is more common to use TPR, defined as $\frac{TP}{TP+FN}$, and false discovery rate (FDR) defined as $\frac{FP}{TP+FP}$. I searched online for TDR, but it seems that people seldom use this term, and I didn't fin...
I major in bioinformatics. We all know that temperature changes during a year. I find that a disease incidence is really high when temperature is relatively high, while it becomes really low when the temperature is relatively low; that is to say, they are related. I want to find out a way to prove that they are related...
Let me explain my question with the following example: data("Grunfeld", package = "plm") y <- data.frame(split(Grunfeld$inv, Grunfeld$firm)) purtest(y, pmax = 4, exo = "intercept", test = "madwu") gives a result. But if we include a missing value in it, e.g., Grunfeld$inv[2] <- NA, then the above steps for unit root t...
I am currently working with a panel data in which I have 6 countries, and the analysis is for 10 years. That is $n=6$ and $t=10$. Is it a good panel? I am really getting confused as people question me regarding the small number of observations. I can increase the value of $n$, but then the purpose of the paper would r...
Suppose there are three cards labeled with values 1, 2, and 3, and two of them are chosen at random (without replacement). Let the random variable $X$ be the value on the first card chosen, and let random variable $Y$ be the value on the second. I understand that the expected value of the first drawn card, $E(X) = \fr...
I am a bit new to analytics. I have this survey dataset with the attributes below. Independent variable: a. Are we trustworthy? (Value: 1 to 10) b. Do we offer solutions that you need (Value: 1 to 10) c. Are we proactive (Value: 1 to 10) d. Do we provides consistent quality of service (Value: 1 to 10) e. Do we pro...
I have the data: numbers <- c(0.176, 0.005, 0.022, 0.016, 0.036, 0.095, 0.069 ) Inds <- as.factor(c("P06", "P07", "P08", "P09", "P10", "P12", "P13") ) and am trying to test for differences in numbers as a function of Inds. The numbers are proportions of an events success for each individual. With Inds specified as a...
I am trying to study various factors that result in a single outcome. For example, if we look around factors that results in the stimuli reaction of a person, let's say the heart beat, the blood pressure, temp, and other factors that result in the stimuli reaction of a person, and what if there is any aletration in the...
Are there any techniques that quantize the importance of individual attribute values in a particular data point, in terms of the attribute's overall importance/signification/contribution to the uniqueness of the data point (uniqueness with respect to the whole data set). I'm not entirely sure if I've put it perfectly. ...
I have an experiment wherein respondents were tested in two time points. However, respondents were tested at t1 and t2 OR t1 and t3 OR t1 and t4. Hence, data is missing at t2,t3,and t4 for 3/4 of respondents. I meet the missing at random assumption, but is there anything else I need to consider before I start up the i...
I have two types of samples: some look like bimodal Gaussian mixture (Type A), and some look like a Gaussian (Type B). How can I programmatically classify/label them? Language can be R, Python, Matlab, or anything else appropriate. The data presented in the charts are Red values from jpeg images. In R code: # I rea...
I have thirty discrete random variables for a risk management application. Each of the random variables may have a value $0$ (with probability $p_1$) or $X_i>0$ (with probability $p_2$). All thirty $X_i$ may be different. I am interested in the sum $S=\sum_{i=1}^{30} X_i$ of all thirty random variables. Am I right reg...
I have results from three archaeological populations in which I found that the prevalence of a certain disease was: 65% (13/20) in population A, 31.25% (5/16) in population B and 46.60% (48/103) in population C I did a chi-squared test and found that while population A was significantly more affected than population...
I have the following generalized linear model. The object glmDV is modeled as a proportion of successes over total trials. The objects x_i are continuous variables. What does this look like in mathematical notation? winp.glm = glm(glmDV ~ x1 + x2 + x3 + x4 + x5 + x6 + x7, data=myData, family=binomial("l...
I am trying to replicate an analysis as conducted by Raven, et al. (1998). A scale is analyzed with Guttman's smallest space analysis. First of all I wasn't able to find a suitable procedure in R and it appeared to me as if SPSS might be the solution. However even though I use the same scale it is impossible to reprodu...
I need to use an LPM for a paper I'm doing (for reasons orthogonal to this question). I have about 6000 observations in a time series cross-sectional structure (countries and years) and my dependent variable is binary. Now, I know all the standard arguments against the LPM, but I am wondering whether the case for usi...
For Lasso regression $$L(\beta)=(X\beta-y)'(X\beta-y)+\lambda\|\beta\|_1,$$ suppose the best solution (minimum testing error for example) selects $k$ features, so that $\hat{\beta}^{lasso}=\left(\hat{\beta}_1^{lasso},\hat{\beta}_2^{lasso},...,\hat{\beta}_k^{lasso},0,...0\right)$. We know that $\left(\hat{\beta}_1^{lass...
I have a corpus of many short entries. Because of this it is very rare that for two entries $x_i, x_j: \ <x_i,x_j> \neq 0$. Therefore for almost all the entries, $x\in TeS$, in the test set I get $\forall x_i\in TrS, \ <x,x_i>=0 $ where $TrS$ is the training set. Therefore SVM is unable to classify most of the entries...
I am a dummy in statistics but need to accomplish some simple survey analyses. My question is: if I have several questions (items) for one construct (say, questions JS1-JS3 for job satisfaction) with the same 5-point scale, how do I do descriptive stats for the construct? Is it ok to calculate the mean & standard devia...
I have to do canonical correlation analysis between two multivariate datasets X and Y. One dataset contain numerical data and the other binary data. I would like to know what features are highly correlated with the features in second data set. Would the normal CCA available in Matlab be sufficient if one data set has...
If I generate normally distributed data and then use this data to estimate the parameters of a normal distribution using, say, maximum likelihood I would expect the estimated standard deviation to be close to the true standard deviation given enough data. If I instead use this normally distributed data to estimate the ...
Suppose there are two vector signals $x$, $z$. The observer 1 receives a linear version of $x$ plus Gaussian noise. Observer 2 receives a linear sum of both $x$ and $z$ plus Gaussian noise as shown below; $$y_1(t)=A_1(t)x(t)+n_1(t),$$ $$y_2(t)=A_2(t)x(t)+B_2(t)z(t)+n_2(t).$$ But observer 2 is only interested in estimat...
Consider a beta distribution for a given set of ratings in [0,1]. After having calculated the mean: $$ \mu = \frac{\alpha}{\alpha+\beta} $$ Is there a way to provide a confidence interval around this mean?
I am trying to get spectrogram from audio file, using voicebox tool. My input audio file is audiofile.wav. After spectrogram, I want to apply PCA to my spectrogram matrix, b (to reduce dimensionality). Is it the correct way to apply PCA? [s,fs]=wavread(audiofile.wav); [t,f,b]=spgrambw(s,fs,'gmJcw'); coeff=pca(b); my_fe...
I have $N$ Bernoulli variables, $X_1,...,X_N$ and $X_i\sim B(1, \pi_i)$, $\pi$ is known for each $X_i$, and $Y=X_1+...+X_N$, now I need to get the destribution of $Y$. If $X_i$ and $X_j$ are independent when $i\ne j$, then I can use the simulation: 1. Generate X1, ..., XN via their distribution, and then get the val...
I am trying to figure out how can I create an optimization function that will select from a data.frame or matrix, the row with the most drawn value (the numbers are not integer, so I need to maybe look for the number with the highest probability of occurrence) and at the same time minimize the second column (that repre...
I always thought $\alpha_i \neq 0$ implied that $i$ was a support vector. However, now that I think about it, I am confused. If a training point is incorrectly classified, it will have a non-null $\alpha$, does it make sense to use it for classifying new points? Do we use it to compute the optimal separating hyperplane...
I am trying to explain datasets gathered from simulation with various regression models. Linear regression seems not applicable because my data after transformations still violate the assumptions for linearity, normality of errors etc. I have built several non-parametric models (splines, regression trees, SVR and Gauss...
Not sure if this question makes sense but I have been spending a lot of time looking at information about expectation propagation and one of the key operations in it as explained by Tom Minka is the projection of product of distributions to the best Gaussian approximation. So, I have a setup where my joint distribution...
I like to be able to use dynamic linear modelling (DLM) on a time series data to perform forecast. I am currently using lm function but I like explore dlm to see the difference. My data looks like this: structure(list(DATE = structure(c(1389287553, 1389287583, 1389287613, 1389287643, 1389287673, 1389287703, 138928...
Hi i'm reading threw all my statistics notes and i can't find any mention of how to transform ols variables into logs. ie i can't see a equation or any method of turning a beta value into a log form. i know why we must do this but i can't work out how. also is there a different method for partial transformations ie tur...
I want to estimate a hierarchical multilevel regression (two levels). My data set is fairly small: 25 groups and 255 individual observations distributed unequally among groups (group member size varies between 4 and 55). Several books point out that the small sample size could lead to biased estimates of the random eff...
I have a random variable $X\sim \text{Normal}(\mu,\sigma)$ and have the transformation $Y=\max\{0,X\}$. Is the distribution of $Y$ a truncated normal where it is truncated to live on the positive half of the real line? Secondly, is there a closed form solution for the joint distribution of a Normal random variable and...
Using a biplot of values obtained through principal component analysis, it is possible to explore the explanatory variables that make up each principle component. Is this also possible with Linear Discriminant Analysis? Examples provided use the The data is "Edgar Anderson's Iris Data" (http://en.wikipedia.org/wiki/Ir...
Random Forests work by creating an ensemble of decision trees where each tree is created using a bootstrap sample of the original training data (sample of both input variables and observations). Can a similar process be applied for linear regression? Create k linear regression models using a random bootstrap sample for...
I have multiple time series where at any point in the time series, an event can occur that I believe has an effect on the time series. This event can happen at different times for each of the different time series. How would I go about estimating the effect of this event on a time series where the event has not yet occ...
I have time series data on fish catches from 1950-2011. I wish to implement a regression model with varying coefficients. I'm aware that cox models etc. exist and implementation via the survival package in R. My data is not survival data, it's just several variables with fish catches and year. Is there a way in R to i...
Background: I am an evolutionary biologist interested in how morphological variation within a population of individuals contributes to variation in their competitive ability. To get at this in the tadpoles that I work on, I want to create a 'morphological index' that incorporates four different traits that are thought...
I'm working on a 2-way ANOVA analysis with a 2x2 design - two main effects with 2 levels each. In running the analysis, I obviously get the interaction as well as each main effect. Are the results (p and F values) for the main effects the same as if I had simply run a standard ANOVA on each of the main effects indepen...
My dataset is a biological analysis of a disease which takes 3 months to develop, and we're looking at treatment of that disease. The data is gene expression data and we want to identify changes in gene expression over time. This resembles a 2x2 design in which I have equal sized groups as: trtmnt no-tr...
I am trying to find the probability distribution (like mean and variance) of a set of sequences which have different length. I came into different measurement models that quantify the distance between difference sequences, but I cannot find something on the probability distribution of sequences. Is there anyway to extr...
I have an experimental design with attitudes toward one positive and one negative stimulus nested within individuals. I also have a continuous predictor at the person level (a personality construct). My plan was now to build a multi-level model with valence as level-1 predictor, (centered) personality as level-2 predic...
I posted this to the TraMineR user list and it was suggested that it would be appropriate to post it here as well. Any suggestions as to how to determine the minimum dataset size and missingness characteristics to which TraMineR may be applied sensibly would be helpful. I looked for information in documentation but did...
I have a random sample $(X_1, X_2,...,X_n)$ and I have an estimator $\bar{X_n}=\sum_{i=1}^{n} X_i$ I need to compute the Fisher information of $\bar{X_n}$. The Fisher information is defined as $-E\left(\frac{d^2}{d\theta^2}logL\right)$, where $L$ is the likelihood function. My question is: to compute the Fisher informa...
I have a number of distance matrices that I want to associate their members with a probability distribution. Is there a method which can affiliate each distance matrix with a distribution? EDIT: Lets say I have a distance matrix like: A1 A2 A3 A4 ... A1 X 1 3 2 A2 1 X 4 3 A3 ...
I wonder between two performance metrics for classification models: accuracy and area under ROC curve (AUC), which one is to be preferred in which conditions? examples appreciated