instruction stringlengths 35 38.7k |
|---|
I have a database with 200+ variables and less then 50 cases. I need to choose an optimal model that predicts one dependent variable.
Are stepwise/lasso regressions still appropriate methods to build such model?
|
I have two sets of independent samples from the same distribution. For each, I have calculated
sample weighted mean (u1, u2)
sample weighted std deviation (d1, d2)
sample weighted std error (e1, e2)
The question below gives a way to calculate the pooled statistics in the 'unweighted' case
How to calculate pooled vari... |
I'm planning a study in which I want to test the effect of a treatment on a dependent psychometric variable. I expect subjects who score lower at baseline to benefit more from the treatment (larger score difference pre-post), and I expect the treatment to have less of an effect on subjects who score high at baseline (s... |
Are samples from sliding windows independent samples? E.g. if I have window size of 90 seconds counting the number of cars on a street and I output the average within the window every second for 30 seconds, do I have 30 independent samples or not?
I'd say yes, as it looks (to me) like sampling with (partial?) replaceme... |
The caret package offers the ability to make statistical statements about the performance of different models used for classification. According to the description, it uses asymptotic simultaneous confidence intervals for many-to-one comparisons of proportions. I have read the papers by Horthon et al (2005) and by Eugs... |
I have a set of data of 2 variates. I have generated correlation matrix between the variates. Using copula package of R, I computed t-copula using correlation matrix. I used the following technique for that:
With the help of correlation matrix for example let it be corr_mat, I computed parameter vector, lets say param... |
I am estimating a mixed logit model with hierarchical Bayes procedures to deal with my categorical data.
I am wondering if I'm representing the data correctly.
The data comes from experiments where participants are shown constructed images and need to identify if the image is constructed from information of type A or t... |
What is v-fold cross validation in relation to k-fold cross validation?
Also is there a more common way in which v-fold cross validation is referenced?
I'm struggling to find resources on this method.
|
Field's Discovering Statistics Using SPSS (2013, Sage) defines sphericity as follows:
Sphericity: a less restrictive form of compound symmetry which assumes
that the variances of the differences between data taken from the same
participant (or other entity being tested) are equal. This assumption
is most commonl... |
I have a set of data with an ordinal response ranging from 1-5 (worst to best) and a categorical predictor with five unordered levels. The experiment is a language experiment whereby subjects are asked to rate different sentence types. In the literature it seems that people fit lmer() most of the time by scaling the or... |
Suppose that $x$ takes the following values: 0 feet from start, 10 feet from start, and 15 feet from start. Let the outcome variable be $y$. How would you interpret the regression coefficient of $x$ ($\beta_1$) in a linear regression? Would it be: a unit increase in $x$ is associated with an expected increase of $\bet... |
I was trying to understand what are good (or standard) way of evaluating relative accuracy for continuous data.
Say for example, say I have some statistical algorithm S that outputs some real number from a vector of data. Something like $S:\mathbb{R}^k \mapsto \mathbb{R}$
Intuitively what I am interested in finding is ... |
I have a set of points which is a count of links that users have clicked on :
link1,link2,link3,link4
user1, 0 ,2 ,3 ,2
user2, 1 ,4 ,0 ,5
I am not sure which distance function I should use to calculate the distance between users. I think Euclidean distance is a good fit (readin... |
I have data where the dependent variable is discrete and lies between 20 and 40 (possible values are 20, 20.5, 21, 21.5, ..., 39, 39.5, 40). The variable measures some results from a game which can be between 20 (lowest achievable value) and 40 (highest).
After some hours of research on the web, I could not find a reg... |
I'm looking for a method to calculate the area of overlap between two kernel density estimates in R, as a measure of similarity between two samples. To clarify, in the following example, I would need to quantify the area of the purplish overlapping region:
library(ggplot2)
set.seed(1234)
d <- data.frame(variable=c(rep(... |
I'm trying to perform a logistic regression with the dependent variable being whether a potential customer who attended an event purchased or did not purchase.
A subset of potential customers at the event participated in a meet-and-greet type activity with each other and existing customers. For each potential customer... |
Good day, guys. I'm new to SPSS and I plan to determine if there is any relationship between grades and time spent in watching tv/video game playing using Spearman's rank correlation. Question is, how do I input time variable? Do I convert say, 2 hours and 30 mins to mins so that I would put 150 under the time tab?
My... |
How did Pearson come up with the following Pearson chi-squared statistics in 1900?
$$
K = \sum \frac{(O_{ij} -E_{ij})^2}{E_{ij}}
$$
that
$$ K \sim \chi^2 $$
Did he have chi-squared in mind and devise the metric $K$ (bottom-up approach), or did he devise the statistic and later prove that it follows the chi-squared dis... |
Given two independent random variables $X\sim\Gamma(s,r)$ and $Y\sim\Gamma(t,u)$, what is the distribution of the difference, i.e. $D=X−Y$? I assume that $s$ and $t$ are integers. How can I obtain the skewness of the difference distribution?
|
Suppose I know the mean and standard deviation of a (roughly) normally distributed variable x. Is there any way for me to calculate the mean and standard deviation of f(x)?
The particular problem I am working with involves needing to find the mean and standard deviation of sine and cosine of variables whose mean and st... |
Just wondering what are the advantages of using one over the other. I'm just looking for some general answers here.
For starters:
VB gives a guaranteed lower bound for the likelihood.
EP is faster? VB has quite a lot of iterations till convergence, unless someone came up with a faster method.
With EP you have to spec... |
Let $A_1, A_2, \ldots$ be independent random variables with known distributions.
I'm wondering if it's possible to equivalently decompose the probability above into separated constraints?
For example:
\begin{align*}
\Pr(A_1 < b_1) & > 1-p_1 \\
\Pr(A_2 < b_2) & > 1-p_2 \\
&...
\end{align*}
|
I'm attempting to answer a general question about a method of musical comparision which is generalizable beyond western music but uses western music scales as a nearly sufficient subspace for dimensional reduction. What is a good probability model of the distribution of frequencies as represented by western sheet music... |
1)
Suppose, I have 25 sample values. I have no idea as to which distribution, the observation comes from. How will I proceed?
2)
With regard to the same question:
Suppose, though I have no idea, I pretend that it comes from normal distribution and estimate its mean and variance, do a P-P or an Anderson-Darling and conc... |
I'm working an analysis about finding frequent sequences in a event-state dataset using the R package TraMineR (and arulesSequences too).
In arulesSequences the algorithm used to find frequent sequences is the cSPADE algorithm.
But what is the algorithm TraMineR uses for the function seqefsub?
Does it use the GSP algor... |
In the following R code, the expected type I error should be 0.05 (I think), but it is consistently greater than 0.05. I want to know why.
library(MASS)
nsim <- 1000
alpha <- 0.05
out <- rep(NA,nsim)
for(i in 1:nsim){
x <- runif(20,0,10)
y <- rnbinom(20,mu=3,size=1.285714)
out[i] <- summary(glm.nb(y~x))$coeff... |
The answer to this question discusses problems associated with calculating P-values for dependent observations. Let's say you have observations from two different groups that are dependent. You consider carrying out a t-test to compare means of the two groups. However, aware that the calculated P-values in a t-test wil... |
I searched a method to determine the accuracy of a linear regression model. I found that I should calculate r-squared. Is this the only method or are there other methods?
|
I'm trying to understand how NMF is derived, and I got the basic idea of NMF,
that is, it tries to approximate the original matrix $V$ with $WH$, where $V$ are non-negative, and $W,H$ are constrained to be non-negative.
Question 1
When I approach this problem, it's pretty intuitive for me that, I should try to minimize... |
Given a set of data, assumed normally distributed from 1 to 19. And two subsets of that data, one with the numbers below 10, and one with the numbers above:
subset1 = [1 2 3 4 5 6 7 8 9 9 8 7 6 5 4 3 2 1];
subset2 = [15 16 17 18 19 19 18 17 16 15 15 16 17 18 19 18 17 16];
data = [subset1 subset2];
We can calculate ... |
Sparse RBM are described in this paper
Gaussian-Bernoulli RBMs are describe (kinda poorly) in this paper as Gaussian Units,
and more clearly in this masters thesis.
Sparse RBM: (Quoting direct from the paper, Page 3)
$$P(v_{i}|\mathbf{h})=\mathcal{N}(c_{i}+\sum_{j}w_{ij}h_{j},\,\sigma^{2})$$
$$P(h_{j}|\mathbf{v})=logis... |
I get a negative value for the Hausman test for the independence of irrelevant alternatives (IIA) assumption. Now I find contradicting conclusions in the literature: some people say that I should take the absolute value, others say that the value should be rounded to $0$. What should I do?
|
Suppose the true model is $y = 2x + \text{error}$, where $\text{error}$ is normally distributed with variance 1 and mean 0. See the R code below. Variance for any residual from the fitted model (under OLS) is given by $\text{Var}(\text{error}) \times (1 - \text{hatvalue})$. Ex: var(residual) for the first observation i... |
I will need to present a project to non-statisticians in an upcoming conference and I would like to include a quote that I have read at one point that makes the comparison between statistics and a machine which processes ore. The reason is that I want to emphasize a certain connection between the capabilities of statis... |
I have a large co-occurrence network where nodes refer to word terms. We create a relation between "Term 1" and "Term 2" if both terms co-occur in the same sentence. For each pair we also have co-occurrence frequency (i.e., number of sentences where pairs occur).
Now I want to calculate which pairs occur together more ... |
I'm looking for a non-parametric (!) alternative to the Friedman test. I have > 2 subjects and measured one quantity per subject. I want to know whether there is a significant difference between any of these subjects. Please note that I used the Friedman test before because there were repeated measured per subject.
Is ... |
I have a mixed design ANOVA, with a 2 level between-subject and a 7 level within subject variable. What is the appropriate post-hoc test after a significant ANOVA?
I'd like to see R code in the response.
|
I'm looking for R packages implementing some new PCA methods.
The first one is the Stable Principal Component Pursuit method
of Zhou et al. (2010).
The second one is the PCA via Outlier Pursuit algorithm
of Xu et al. (2012).
Both are highly cited papers in statistics, yet I could not find either of them on the rob... |
My current research deals with landslide size frequency distribution which has been fit to a three-parameter inverse gamma function and a double Pareto function by previous researchers. I am trained as a civil engineer and can't make sense of how to build a program to fit my data in Fortran, MATLAB or R because I'm hav... |
I came across a reference to a "Supersmoother" algorithm that was applied to prices in a timeseries.
Does anyone know of a tutorial in Python or whether Pandas has such a capability?
|
Suppose that I roll a six sided die $x$ times, say 10, what is the probability that I will get a particular side/number, say 6, a specific number of times? Is there a general formula to compute this?
For example, what is the probability that I will:
Get exactly 1 time six
Get exactly 2 times six
Get exactly 3 times ... |
When conducting a repeated measures test where one measures the before/after values for several pairs, how does one account for variance within the pairs themselves? For example lets look at this example of 3 student scores SAT math section as the result of a prep-course.
At this level, it seems that the test was sign... |
I'm trying to implement the entropy estimation based on the closest neighbor from Kozachenko and Leonenko but I'm facing a problem I can't solve.
The idea is to work in a new set $\epsilon=${$\epsilon_{1},...\epsilon_{N}$} instead of {$x_{1},...,x_{N}$} where $\epsilon(i)$ is the distance between $x_{i}$ and its closes... |
I am trying to fit a baseline through my data, and I am not getting close enough with polynomial regression. I used gradient descent to set the parameters.
Are there any other ways or algorithms that could get me any closer? I want to make my baseline in blue look more similar to the actual data in red.
|
The chi-square approximation of the distribution of the test statistic in Likelihood Ratio Test (LRT) may not be reliable if a parameter of a model is on the boundary of a parameter space --- is something I often see in documents. I want to know what “the boundary of a parameter space” really means. For example, if it ... |
I need to use the principle of inclusion/exclusion to calculate
the "OR" probability of a large number of events
$$ P( A_1 \cup A_2 \cup \dots \cup A_n ) $$
For two events the formula to use is (from Wikipedia http://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle#In_probability) :
$$P(A_1\cup A_2)=P(A_1)+P... |
Say I have a large sample of values in $[0,1]$. I would like to estimate the underlying $\text{Beta}(\alpha, \beta)$ distribution. The majority of the samples come from this assumed $\text{Beta}(\alpha, \beta)$ distribution, while the rest are outliers that I would like to ignore in the estimation of $\alpha$ and $\bet... |
I have the following problem: I want to obtain a predictive posterior distribution for the target logistic regression variable $y$. That is to say, given a combination of explanatory variables $X$, I want to obtain the conditional distribution $P(y|X)$ from the model.
Am I correctly supposing that I need to sample a Ba... |
Given the random vector
$$
\mathbf{h} = \left(\begin{matrix} \mu \\ \varepsilon_1 \\ \varepsilon_2 \end{matrix} \right) \thicksim \mathcal{N}(\mathbf{0}, \mathbf{\Sigma}_\mathbf{h})
$$
and the low-rank transform:
$$
\mathbf{P} =
\left(
\begin{matrix}
1 & 1 & 0 \\
1 & 0 & 1 \\
\end{matrix}
\right)
$$
it's easy to show ... |
The latent variable motivation for losgistic regression goes thus.
There exist $Y^*=\beta^tX+\epsilon$ which is continuous. We can only observe $Y$ at specific thresholds of $Y^*$, say at $Y^*\leq \alpha_1$, $\alpha_1<Y^*\leq \alpha_2$, $\alpha_2<Y^*\leq \alpha_3$ and $\alpha_3<Y^*\leq \alpha_4$, with $Y=1, 2, 3,4$ res... |
I have a question that seems basic but I found two alternative answers online so I thought that I should ask for advice. I have an experiment where each subject makes decisions about target words in two conditions: the word can be either preceded by a related word (the related condition) or it can be preceded by an unr... |
In a fairly complex survival analysis case with considerable missing data, I split the data set into training and testing and ran models for both complete cases and imputed cases (I used multiple imputation).
Although I ran the same model for all 4 cases, the parameter estimates and p values for some variables disagree... |
I have daily data where the number of values changes with each day. I would like to calculate the weighted mean of this data, where days with more values are weighted higher than days with less.
Conceptualized data:
day1 day2 day3 day4
[3,1,2] [4,1,4,5] [4,5,1,7,8] [3,4,5]
What is the correct way of w... |
Can I use Chauvenet's criterion on set of observations where a normal distribution cannot be assumed?
|
I reviewed an application-based paper saying that applying PCA before applying ICA (using fastICA package). My question is, does ICA (fastICA) require PCA to be run first?
This paper mentioned that
... it is also argued that pre-applying PCA enhances ICA performance by (1) discarding small trailing eigenvalues before ... |
I have tried a number of different models to forecast the time series shown below, but so far I haven't found any models that satisfy me. I am looking for ideas for a suitable model.
The objective of the forecasting is two-fold:
predicting the interval and thereby determining when the next peaks will happen.
What... |
I am using the function gbm.step() from the dismo package to assess the optimal number of boosting trees using k-fold cross validation for a clasification problem. This function fits a model with the optimal number of trees, returning it as a gbm model along with additional
information from the cross-validation selecti... |
By default when we use a glm function in R, it uses the iteratively reweighted least squares (IWLS) method to find the maximum likelihood estimation the parameters. Now I have two questions.
Does IWLS estimations guarantee the global maximum of the likelihood function? Based on the last slide in this presentation, I... |
I have to reproduce the algorithm of a scientific article and have chosen one that uses Reinforcement Learning.
However, I don't understand how to compute the transition probability function ($f$) used in the iteration:
The article says:
In order to run the Q-value iteration algorithm (Table 2), the
transition pro... |
After asking 16 questions (yes or no) to 75 people I have a table of their answers coded like 00110011110101010 ('0'=no and '1'=yes). Now I would like to find groups of people who answered in the most similar way (ideally to find all possible groups with similitudes from 16/16 to 12/16).
How to do this in SPSS?
|
As far as I know, I have two options for tests in linear regression. The $F$-test for the model (if it explains more variance than it has error variance) and the $t$-test (to see if the slope is not zero). With more than one predictor, I can see why both tests are there. But in my case, I only have one predictor. In my... |
can anyone show me how to find the Fisher information matrix for negative binomial distribution, if I parameterize the Negative Binomial distribution using parameters mean and size.
|
I'm being asked to calculate a necessary sample size for a cluster sampling protocol. I don't have much experience with cluster sampling, so thought I'd come here. The situation is as follows:
1) Clusters: We have two separate groups to run analysis on. One with 75 clusters and one with 150 clusters.
2) Cluster size: C... |
Some major commercial statistical packages (e.g., SPSS) do not report a CI for the intercept term in logistic regression. [Based on answer below R does provide CI for intercept]
Why might confidence intervals for the intercept term not be included by default?
UPDATE:
Based on feedback, Confidence Intervals for odds as... |
I have a high dimensional dataset ($n \times p$: $30 \times 100$) which I want to use as an testing dataset to build a two group classifier (LDA or QDA). I've read that you can do PCA to do an dimension reduction of your dataset to select to most important features. But I'm a bit confused what you use exactly as the i... |
I'm reading from http://www.iro.umontreal.ca/~bengioy/papers/ftml.pdf around page 8.
Here is a quote that I'm not understanding:
"If we include affine operations and their possible composition with sigmoids
in the set of computational elements, linear regression and logistic regression
have depth 1, i.e., have a sin... |
Hello,
first of all I've got to confess that I'm not a statistician and therefore wouldn't mind if an answer is a bit more explicit than it usually would be among statisticians.
The Context
To predict energies of arbitrary patterns of a certain physical system, I settled to use the MAPS code (as it is described in deta... |
Is it possible to create individual level predictions of a voter's probability of voting when you do not know their vote history? In the data set provided in my homework assignment, I am given data on a number of people. Some have a known voting history and some have missing values within the variable (these are the p... |
I am doing peer review on a paper submission for a journal, and I am somewhat out of my depth.
The authors are developing a psychometric scale. They did a pilot study with 45 items. They measured Cronbach alpha and found that it is 0.89 overall.
Then they found that six items have Cronbach's alpha if item deleted of ... |
I know my response variable is ordinal(5 levels). I decide to ignore all the information in the response variable and group it into two groups. I then fit a logistic regression model to it. I use this logistic regression model for classification for the two groups.
Alternatively, I fit an ordinal logistic regression mo... |
Good day! I'm totally new to SPSS (and the test as well, but after some research I've finally demystified a bit about Mann-Whitney and how to do the test in SPSS. The only problem I'm currently facing is the analysis) And so in this snippet, I want to discover how the researcher came up with this analysis:
.
How was h... |
There are dozens of questions regarding LOO and variance.
Most of the answers are purely theoretical or too general.
I have also read many papers like this paper.
Specifically:
I have two not too stable classifiers/learning algorithms (suppose C4.5 and RIPPER for simplicity),
the dataset is small, thus LOO is desirable... |
Suppose we have a linear mixed model with outcome variable $Y_{ij}$ and covariate $X_{ij}$. In particular, suppose we have a random intercept model:
$$\mathbb{E}[Y_{ij}|b_i, X_{ij}] = \beta_0+b_i+ \beta_{1}X_{ij}$$
$$ b_{i} \sim N(0, \sigma_{b}^{2})$$
$$ e_{ij} \sim N(0, \sigma_{Y}^{2})$$
If we run a GEE linear regress... |
In a standard normal distribution how do I deal with a $Z$ value greater than 3?
I know that z-score ranges form -3 to 3
Consider this one ...
mean = 70, standard deviation = 4
I need to find $P(65 < X < 85)$.
Transforming to standard normal gives $P(-1.25 < Z < 3.75)$
How to deal with the $3.75$?
Edit *Actu... |
I'm working on this identity
$$\sum_{i-1}^n (y_i - \hat {\beta_0} - \hat {\beta_1}x_i)^2 = \sum_{i=1}^n y_i^2 - \hat {\beta_0}\sum_{i=1}^n y_i - \hat {\beta_1} \sum_{i=1}^n x_iy_i$$
I have these relationships to work with:
$$\hat {\beta_1} = \frac { n\sum_{i_1}^n x_iy_i - \left ( \sum_{i=1}^n x_i \right ) \left ( \... |
For $i=1, \ldots, K$ and $j=1, \ldots,n$, assume the following model.
\begin{align}
X_{ij} \mid \mu_i & \sim N(\mu_i, \sigma^2) \nonumber \\
P(\mu_i, \sigma^2) & \propto 1/\sigma^2
\end{align}
We assume everything is independent. Then the posterior is as below
\begin{align*}
\dfrac{\mu-\bar X_i}{s/ \sqrt{n}} \sim T_{n-... |
I have two conditionally independent random variables $A$, $B$ such that
$$
P(A,B\mid C) = P(A\mid C)P(B\mid C) .
$$
I have to find posterior formula $P(C \mid A,B)$.
My result with a straigthforward application of Bayes rule is
$$
P(C \mid A,B) = \frac{P(B\mid C)P(A\mid C)P(A)}{P(A\cap B)} .
$$
with few variants (e.g... |
Most of you will have been entertained by the recent blog post showing how random things in the world correlate without, of course, necessarily being causally related.
Looking at those graphs, I was wondering in my mind whether, for two vectors X and Y to be correlated, it is the difference or the ratio between their r... |
I have an exercise with the following information; $ 20\% $ of the set are youth, my sample of $ 139 $ persons have $ 39 $ youths. The exercise is to test if this sample is a representative sample of the set and to find the level of significance of the result.
I have two hypothesis $ H_0 = 0.20 $ and $ H_1 \ne 0.20 $,... |
Is there any good source or link that has several probability distribution functions (pdf) we can use based on the simple observations or patterns we observe from data.
The question I have in my mind is to adopt some distribution function of prospective customers of car sales based on the quotations one enter from car-... |
I was trying to estimate the amount of time that pass by a program when we read one element from its array (say in python).
Say that I have the times $t_i$ when I traversed a number of elements in the following program:
array = [...]
t_i_array = []
while i < n:
t_start = time.start()
n_i = random.randint()
a.read... |
Say we are given a sequence of independently (but not identically) distributed random variables $X_1,...,X_n$ which are known to be bounded, $X_t \in (a,b)$, and to have the same mean, $\mathbb{E}X_t = \mu$. Additionally, we know that each $X_t$ is drawn from one of $k$ fixed (but unknown) distributions, denoted by $I_... |
We know that in the case of a proper prior distribution,
$P(\theta \mid X) = \dfrac{P(X \mid \theta)P(\theta)}{P(X)}$
$ \propto P(X \mid \theta)P(\theta)$.
The usual justification for this step is that the marginal distribution of $X$, $P(X)$, is constant with respect to $\theta$ and can thus be ignored when deriving t... |
I have got various time series data for different observations. I want to represent one time series observation by one aggregated variable. The easiest one is to take the mean of the time series, but mean does not capture the variations in the observation over time. I thought of computing the distance (dist) between an... |
I am currently analyzing a data set having to do with oak tree mortality. I am trying to understand the correlation between dead crowns (dead = 0, live = 1) and the distance to (1) nearest dead crown and (2) distance to nearest bay tree. (See Below).
I have run a probit regression model:
Living<-sample(0:1,10,replace=T... |
From "]
Learning Deep Architectures for AI". see: http://www.iro.umontreal.ca/~lisa/pointeurs/TR1312.pdf (see section 3.1)
"The local generalization issue is directly connected to the literature on the curse of dimensionality, but the results we cite show that what matters for generalization is not dimensionality, but ... |
I am using cv.glmnet to find predictors. The setup I use is as follows:
lassoResults<-cv.glmnet(x=countDiffs,y=responseDiffs,alpha=1,nfolds=cvfold)
bestlambda<-lassoResults$lambda.min
results<-predict(lassoResults,s=bestlambda,type="coefficients")
choicePred<-rownames(results)[which(results !=0)]
To make sure the re... |
I was trying to understand when its better to model some random variable as being distributed by a Poisson Distribution or when being modeled as a Binomial Distribution.
I was reading the following article:
http://www.umass.edu/wsp/resources/poisson/
but was not sure if I appreciated it.
What kind of structure does you... |
I'm using Bernhard Pfaff's packages {urca} and {vars} to analyze 3 time series. Each is I(1) and cointegrated with $r =2$ cointegrating relationships.
The vec2var() command should make the conversion from the ca.jo object (my VECM) to its VAR representation in levels. But I do not understand the output from vec2var()... |
My neurology experiment has a spike detector outputting 40 sample long spike waveforms.
I'm using a dictionary method for sorting the spikes in real time. To obtain the dictionary at start of program, I want to use all the spikes detected in the first 30 seconds and perform an SVD of the Nx40 matrix, where N is the num... |
I am doing some signal processing and I have a histogram which has a bell shape when there is only noise in the signal. (I have been advised that this is to be expected due to the central limit theorem)
However when the signal that I am looking for is present
The shape of the histogram changes to
Note that I have re... |
What are some examples of NP-hard optimisation problem that requires approximate methods (such as Monte Carlo? I have done a lot of research but I can't find a suitable problem to implement apart from the Travelling Salesman Problem
|
Some scientific papers report results of parallel analysis of principal axis factor analysis in a way inconsistent with my understanding of the methodology. What am I missing? Am I wrong or are they.
Example:
Data: The performance of 200 individual humans has been observed on 10 tasks. For each individual and each tas... |
This question is similar to
Does every log-linear model have a perfectly equivalent logistic regression?
but my problem is understanding the proof.Every proof is very similar to the one found on: http://teaching.sociology.ul.ie/SSS/lugano/node58.html. for a $n$ by $2$ contingency table
$$\log(\mu_{ij} ) = \lambda_0 + \... |
I have built a logistic regression model with two or more highly correlated factors. I did this by doing a bagging procedure.
In my understanding having highly correlated factors in a prediction model is not an issue (especially after bagging). But in a model where you are trying to explain the target, this could be a... |
this is my first post to stackexchange, I have read many solutions, especially to programming questions in R and have appreciated their helpfulness.
Currently I find myself stuck with a time series analysis problem. I am an aspiring dendrochronologist, measuring the annual tree-rings from a particularly difficult tropi... |
I am using leave-one-out cross-validation to evaluate a linear regression model. In subsequent analysis, I need three specific values for each observation: observed value, predicted value, prediction standard error. Prediction standard error values can be retrieved from function predict.lm setting argument se.fit = TRU... |
I have a binary classification problem for financial ratios and variables. When I use newff (with trainlm and mse and threshold of 0.5 for output) I have a high classification accuracy (5-fold cross validation – near 89-92%) but when I use patternnet (trainscg with crossentropy) my accuracy is 10% lower than newff. (I ... |
In Patterson and Thompson 1971, $L$ is the log-likelihood of $y$
$$
L = const - \frac{1}{2}log |H| - \frac{1}{2}n log (\sigma^2) - \frac{1}{2\sigma^2} (y - X\alpha)'H^{-1}(y-Xa)
$$
They consider the transformations $Sy$ and $Qy$ with respective log-likelihoods $L'$ and $L''$ and the assumptions:
$S$ is of rank $n-t$ a... |
I modified the following script for Optics clustering ( http://chemometria.us.edu.pl/download/OPTICS.M ) in order to work with DTW distance instead than Euclidean's.
I obtained the Order vector (order), Reachability distances (RD) vector and Core distances (CD) vector.
As I read from Wikipedia (http://en.wikipedia.org/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.