instruction stringlengths 9 38.7k |
|---|
I would like to include a diagram for a set of correlations of IVs with a DV. I have also run a multiple regression model. Would something like the below diagram look ok? And possibly writing: H1, H2... on the arrows representing the hypothesized relationships? (which were tested using Pearson Correlation). Or does the... |
I have a time series that is affected by two (or more) kinds of events. When event $A$ happens, some signal is linearly added to the time series (the signal lasts, for example, for 100 time points). When event $B$ happens, another signal (also of 100 time points length) is linearly added to the time series. The noise i... |
I am having difficulty figuring out how to calculate the SEM and report it in a table. I have 5 different time periods, and for those time periods 6 different measures of digestibility for each animal:
horse period adfdig'y ndfdig'y
1 1 45.1 70.2
2 1 48.2 69.... |
I have a large word-frequency matrix (~6m unique words X ~4k documents) and I'm trying to use truncated singular value decomposition (SVD) to project it onto a matrix with fewer dimensions. I know how to get to $[U_{k}, S_{k}, V_{k}']$, but I don't know what to do then.
Each tutorial I find gives me a different answer.... |
I'm trying to find a reasonable way to measure retention of a site (news site). I'm trying to do cohort analysis: I've grouped all visits by year/week, and measured the percent of users that kept coming back in the following weeks.
Clarification: these users are first-time visitors, who have been tracked along the week... |
I was wondering if there is any recommendation for a "decent" minimum sample size when estimating the density/distribution/quantiles of a random variable using KDE. Is it always the case that "the more data the better"?
|
I would like to regress the values on the y-axis by the values of the x-axis. As you can see, the relationship is not linear. Values of y are only positive can not exceed 4, values of x are always positive.
Is it possible (and do you think it is a good idea) to do the following:
Use dummy variables for bins of x-value... |
From Elements of Statistical Learning, on page 49 (in the context of least square regression), we are given the approximate confidence set (shown in image) for the parameter vector $\beta$.
I want to implement this in R. However, I have no idea how to make $\beta$ as the subject,i.e. I could not construct the confide... |
I am looking for some suggestions on what methods are appropriate for training a dataset with a high skew in the outcome classes. The ratio of Class 0: Class 1 is about 20:1 and I am looking to maximize the accuracy for identifying Class 1 outcomes. This is similar to oft discussed topics such as cancer detection.
I ha... |
When visualising one-dimensional data it's common to use the Kernel Density Estimation technique to account for improperly chosen bin widths.
When my one-dimensional dataset has measurement uncertainties, is there a standard way to incorporate this information?
For example (and forgive me if my understanding is naïve) ... |
Ted Dunning has a blog post about calculating G2 (aka LLR) using Entropy calculations as components. I found this really intriguing.
Ted's original post:
http://tdunning.blogspot.com/2008/03/surprise-and-coincidence.html
And yesterday he was nice enough to help fix my Excel (and subsequent Java) implementation, correc... |
Can we change the acceptance rate in the random walk Metropolis algorithm by changing the parameter of the proposal distribution?
Let the target distribution be $\pi$.
Let $p(x_2 | x_1)$ be the proposal density for a new state $x_2$ at current state $x_1$. The acceptance rate is
$$
\alpha = \min(1, \frac{\pi(x_2) p(x... |
I have a small data set of counts of bees.
I tried a simple Poisson model without random effects but it was very overdispersed (3.95).
When I fit a GLMM with random effects (using glmer in lme4) it was then underdispersed (0.19). I need to include the random effects because of my set-up.
The data is distributed like th... |
I'm testing the independence of two variables, A and B, stratified by C. A and B are binary variables and C is categorical (5 values). Running Fisher's exact test for A and B (all strata combined), I get:
## (B)
## (A) FALSE TRUE
## FALSE 1841 85
## TRUE 915 74
OR: 1.75 (1.25 -- 2.44), p =... |
I am at the early stages of building a panel regression model of sales data. I know my final model dataset will consist of log sales, control variables and log media variables.
I am planning to use stl() to decompose the log sales time series.
My question:
If I am going to create a multivariate time series model anyw... |
What is the appropriate model to test the effects of location, species, and size on tree growth? So I have both categorical and continuous variables I want in the model. The following graphic just shows a single plot measured in two consecutive time periods, each point scaled by its size and colored by species. I wa... |
I have a panel data set (country and year) on which I would like to run a cluster analysis by country. My data set has around 20 variables.
Here's a summary for my panel data:
panel variable: country (strongly balanced)
time variable: year, 2010 to 2013
Running a kmeans cluster analysis on 2013 data only is pretty ... |
How would I go about computing the sample size for repeated measures ANOVA design, given power, significance and the required effect size (2 groups, I know the mean difference that I want to be able to catch and approximate standard deviation)?
|
This is a follow up question to "How do I test if two non-normal distributions differ?
I have 13 distributions, . According to the previous question, I should do the following.
Kruskal-Wallis test with 13 samples.
Mann-Whitney U pairwise.
I found that all p-values are practically 0. At first, this did not seem righ... |
Can you please name some major and minor journals publishing articles in the field of statistical learning / machine learning.
|
Suppose that $k$ experts are each asked to rank a set of $n$ objects in order or preference. Let allow ties in the rankings.
John Kemeny and Laurie Snell in their 1962 year book "Mathematical models in the Social Sciences" propose to solve next problem:
PROJECT $1$.
Develop a measure of the reliability of a consensu... |
Let's suppose that I have a function like below, but I don't know what it is. However, as I choose x, I know what corresponding f(x) is. What is the optimal way to choose x such that sum of f(x) is maximized for some finite n tries (let's say 50 tries for the following example)?
My idea so far:
1) Choose some xs at ra... |
I have a source of data that will have an unknown distribution. I want to generate "random" data such that, when I combine the two, the overall distribution completely hides what the original data's distribution is.
It doesn't matter what I get at the end, so long as it is completely unrelated to the original.
I can't ... |
Background:
Dwork et al. in Rank Aggregation Methods for the Web have proposed a few markov chain-based methods to perform rank aggregation (finding an aggregated ranking of items from a set of N rankings - eg. applications in meta search, group recommendation).
There's one flaw with that approach (has been discussed i... |
In population statistics, are variation and variance the same terms? If not, what is the difference between the two?
I know that variance is the square of standard deviation. I also know that it is a measure of how sparse the data is, and I know how to compute it.
However, I've been following a Coursera.org course call... |
I have two variables, and the relationship between them looks like that in this plot:
ggplot(mtcars, aes(wt, mpg)) + geom_point()
The relationship between mpg and wt is best described by entering wt as a quadratic term, like this:
lm(mpg ~ wt + I(wt^2), mtcars)
But what if I want to use wt in an interactions term? S... |
I am using a double model with log transformed independent variables and have calculated average partial effects. Now I am now not sure how to interpret the coefficients; particularly those from the first stage which is supposed to be capturing the probability of participation using a probit model.
|
Let's say I have an experiment where I repeatedly measure something over Time (1:10), say 10 days.
Here I simulate some data...
set.seed(101)
N = 10 # number of repeats
n = 10 # number of individuals
# Data
Time = rep(1:N,n) # measured over time
Note that I set the fixed effect of time to 0.
# Fixed effects
X = ma... |
Are there any caveats when logistic regression is used on a sample with average probability of success close to one (1.4M dataset, mean prob. of success = 0.975)?
|
I have a survey in which I asked, "Would you be ready for a t-shirt shop in St Jean Avenue? [yes/no/don't know]". Then I asked many other questions, ultimately including, "Would you be ready for a t-shirt shop in St Jean Avenue knowing that the staff working there is disabled (mentally or physically)? [yes/no/don't kno... |
Suppose we estimate the probability mass function $p$ from a iid training sample $\{x_1,\dots,x_n\}$. Then we want to use the estimated pmf $\hat{p}$ to estimate the probabilities $p(y_j)$ for a iid test sample $\{y_1, \dots,y_m\}$ which are supposed to come from the same distribution as the training sample.
However, w... |
I have fitted a glm Poisson to my frequency data and obtained the result:
Null deviance: 657.49 on 583 degrees of freedom
Residual deviance: 575.00 on 571 degrees of freedom
AIC: 1534.4
Is the high AIC value and relatively high residual deviance a serious matter to be taken into consideration? Thanks
|
I am confused with using mlogit package to build a multinomial logit model. In my data the only variables I have are the individual specific variables, to be consistent with terms from the mformula() method description (from the package documentation).
Here is the minimal example presenting the steps I am taking to bu... |
The following question is part (1/4) of a 2.30h written exam for the course "Probability and Statistics" in a school of engineering. So, although tricky and difficult (because the Professor is really demanding from his students), it should be solvable in a logical amount of time and with a logical amount of calculation... |
I have seen two different representations of the quantile regression estimator which are
$$Q(\beta_{q}) = \sum^{n}_{i:y_{i}\geq x'_{i}\beta} q\mid y_i - x'_i \beta_q \mid + \sum^{n}_{i:y_{i}< x'_{i}\beta} (1-q)\mid y_i - x'_i \beta_q \mid$$
and
$$Q(\beta_q) = \sum^{n}_{i=1} \rho_q (y_i - x'_i \beta_q), \hspace{1cm} \rh... |
I would like to use cross-validation to test how predictive my mixed-effect logistic regression model is (model run with glmer). Is there an easy way to do this using a package in R? I've only seen cross validation functions in R for use with linear models.
|
For BPE approach,for p($\theta$)~U(0,1) show that
p(x|D)= $1/n+2[(x+ \sum_{k=1}^n(x_k)!)$ $ (n+1-x-$($\sum_{k=1}^n(x_k)$!]$/$[$(\sum_{k=1}^n(x_k))$! $(n-\sum_{k=1}^n(x_k))$!]
I have tried using the following equation
p(x|D)= $\int p(x|\mu)p(\mu|D)d\mu$
I have substituted for the 2 terms but unable to reach the require... |
Suppose I have a response variable(y), which is normally distributed, and y is generally changed with x in a way like a cumulative exponential distribution, which means y may reach a plateau at some turning point of x, such like that:
set.seed(123)
df<-data.frame(y=pexp(x)+runif(length(x),0,0.2),x=1:901)
df<-df[sample(... |
Suppose we have the CDF for the Pareto Distribution given by:
$$ P(X \leq x) = 1-\left(\frac{x_m}{x}\right)^\alpha \;\;\;\;\;\;\;\;\;\; x \geq x_m$$
What is the intuitive way to find the alpha for which the 80/20 rule holds?
|
I'm vaguely familiar with normal probability plots (non-statistician who knows enough to get by). The graph in this article:
What are the two dotted curves called, what do they signify, and how are they calculated?
(source: wrstephe at www.public.iastate.edu)
edit: My question is software-independent. I just want to k... |
In a small data set ($n\sim100$ ) that I am working with, several variables give me perfect prediction/separation. I thus use Firth logistic regression to deal with the issue.
If I select the best model by AIC or BIC, should I include the Firth penalty term in the likelihood when computing these information criteria?
|
This is similar to conjugate prior, except that here I consider if it is possible that a sampling distribution and the posterior distribution under uniform prior belong to the same family of distributions?
In other words, when viewing $p(x|\theta)$ as the likelihood function of $\theta$ given $x$, and then normalize i... |
Let's say I fit an ARIMA model on a time series up to date t.
I want to forecast the 10 next values without refitting the model but also using the latest data available for each date.
So
forecast for (t+1) uses the model fitted from 1 to t and the time serie from 1 to t
forecast for (t+2) uses the model fitted from 1 t... |
Disclaimer: I understand that this question is specific to the types of data, the end goal, etc. but I just wanted to get some quick tips regarding calculating dissimilarity between different types of data. This/clustering is probably the area of ML in which I am least comfortable.
Let's say I have a dataset with 3 fea... |
If a time series is tested for Unit Root (by ADF, PP, KPSS,...) problem is detected with some tests and not found by others. Which one is preferred? For example if ADF says us that there is a Unit root and PP says that is not problem. Which one of them would be preferred?
|
Say that I have two groups who received two treatments, and now I want to know if they progressed AND which group progressed more. I first did a paired t-test to know their progress, respectively, and then I wanted to do an independent-samples t-test to compare the two progresses, but someone told me it was wrong to us... |
I'm a philosophy undergraduate. I've recently read about analogical inferences. When making inferences by analogy, we observe that many of the properties of the analogues are the same, then infer that the rest of the properties are probably the same.
For example, an analogy between sets of the vital properties of two ... |
If you try a real thoroughly won't a computer find all sort of silly patterns?
Messages from ETs in the bible
rainy Sundays in China or Australia -> the chances of your sport team win
reading many novels -> having a gay son
If you have a huge (and growing amount) of information, would things start to match in a mean... |
Heart Group-1 Group-2
Case1 Case2 Case3 Case1 Case2 Case3
İnflammation - - - +++ ++ ++
Hemorrhage + - - ++ +++ ++
Fibrosis + + - ++ ... |
I'm looking at this paper,
http://www.stanford.edu/~hastie/Papers/AdditiveLogisticRegression/alr.pdf
around pages 10-11 (marked 346,347 in the pdf). This notation is introduced
$$
E_w[g(x,y)|x] := \frac{E[w(x,y)g(x,y)|x]}{E[w(x,y)|x]}
$$
where originally, we are attempting to minimize this:
$$
E[w(x,y)g(x,y;f,c)]
$$
w... |
I am trying to predict the time to certain type of failure given the following data on Certain Factory Equipment. The data I have are readings collected every day for sensor installed on those equipment. On Same day, an equipment can have different Repairs performed,and on some days no repairs. When a repair is perfor... |
I am currently doing my statistics thesis on modelling football data which requires quite a great knowledge of Bayesian Theory especially MCMC methods.
However I have some minor problems regarding the Metropolis algorithm:
Any distribution can be attributed to the proposal density function?
Also, the initial values g... |
I've been struggling with how to think about the causal estimate of a program on two outcomes, when one of the two outcomes affects the other outcome. It seems sort of like simultaneous equations, but reading up on SEM, I don't see immediately how it could apply. Would appreciate any ideas for how to approach this pr... |
I've been hunting around looking for a way to do this problem. I need to create a program to calculate linear regression for 100 3-dimensional points. I also have the matching outcomes of the points, so it's like a training set rather than a testing set.
I'm also instructed to consider the bias term, but I'm not sure w... |
A very new European “Rapid Reaction Force for Fire” has been created today and begins operation between three Countries “A”, “B” and “C”. It’s main resource is a super aircraft “Funderbird2” with a massive water cannon that even carries a small mini-submarine for fighting fires at sea. Unfortunately, it can only be i... |
memb float %9.0g proportion of permanent employees who are
members of the worker cooperative
bonus float %9.0g average distributed profits per worker in
millions of li... |
Given
$$f_{(U_1,U_2)}(u_1,u_2)=\begin{cases} 1/2& -u_1<u_2<u_1 \text{ and } u_1 - 2 < u_2 < 2 - u_1 \text{ and } 0 < u_1 <2\\ 0& \text{otherwise}\end{cases}$$
I found that $$f_{(U_1)}(u_1) = \begin{cases} u_1 & 0<u_1<1\\2-u_1 &1<u_1<2 \\0 & \text{otherwise}\end{cases}$$
And $$f_{(U_2)}(u_2) = \begin{cases} 1+u_2 & -1<u... |
Before asking, I read similar questions, but none of them lead to satisfying answers for my specific interest.
I want to homogenize a climate time series of precipitation of the Dominican Republic over 64 years (1940-2003). For that, it is really important to select a reference series among a group of candidates.
Let'... |
I have the following expression:
$$\frac{1}{p} \ln\left(1+\frac{p^1}{1!n}\sum_{i=1}^n x_i + \frac{p^2}{2!n} \sum_{i=1}^n x_i^2 + \frac{p^3}{3!n} \sum_{i=1}^n x_i^3 + \frac{p^4}{4!n} \sum_{i=1}^n x_i^4 + \cdots \right)$$
Now let
$$Y = \frac{p^1}{1!n}\sum_{i=1}^n x_i + \frac{p^2}{2!n} \sum_{i=1}^n x_i^2 + \frac{p^3}{3!n... |
Let $X = ( x_1, ..., x_n ) $ be $n$ samples from a normal distribution with unknown mean.
What is the best estimator for this mean?
I can think of at least 2 unbiased estimators:
The empirical mean $ \hat \mu_1 = \frac{\sum_i x_i }{n} $
A bayesian approach $ \hat \mu_2 = E[ P( \theta | X ) ] $, where $ P( \theta | X ... |
I run an experiment in which several teams perform several tasks each (not all teams perform all tasks, but in general, I can make sure that enough teams perform any given task, and that each team performs enough tasks). I have 30 different tasks, but for the sake of the question let's say its t tasks, g teams and that... |
A colleague has developed a treatment for to "prevent falls" in cognitively impaired, psychiatric patients. Since this would be very useful treatment in this population, we especially do not want to make a Type II error (i.e., fail to reject the null, when we should reject it).
Since the data is not normally distribute... |
I am running a Heckman Probit. Both steps assume normal errors of the latent variable, correct? My data is from a survey and a lot of variables are strongly skewed, so I am worried whether this assumption holds. Is there any test I can use? The sample is 10 000, does it help?
Also, can I make the errors closer to norma... |
In simple linear regression, we have $y = \beta_0 + \beta_1 x + u$, where $u \sim iid\;\mathcal N(0,\sigma^2)$. I derived the estimator:
$$
\hat{\beta_1} = \frac{\sum_i (x_i - \bar{x})(y_i - \bar{y})}{\sum_i (x_i - \bar{x})^2}\ ,
$$
where $\bar{x}$ and $\bar{y}$ are the sample means of $x$ and $y$.
Now I want to find... |
I am conducting a preliminary study, where people assess (7-point likert scala) different pictures. Besides asking for my 2 Independent variables (which are the manipulations for my main study, an experiment) I included a third question, the covariate variable.
I need to calculate / quantify if this covariate variable... |
I want to group the outcome of a function into 2 (or 3) categories.
I have a function efficiency=f(weight,speed,#refueling_stops) that takes 3 input parameters and the output tells me how "efficient" a truck is.
My goal is to take the most inefficient trucks off the road. However, I don't know which truck to keep and w... |
I would like to understand better how to solve least squares in a sequential/recursive way.
How to use weights in the least squares if the following problem:
y = A*a + B*b
where the estimation of a should be recursively updated, and b should be estimated each time separately.
Any recommendation for a book that can exp... |
I'm using linear regression to predict a continuous variable using a large number (~200) of binary indicator variables. I have around 2,500 data rows. There are a couple of issues here:
When I run univariate regressions, most of the indicators have significant associations with the dependent variable (by design - I co... |
Im currently attacking SPSS, and I'm just testing for normality... In the Shapiro-Wilk
Statistic test, my dependent variables have a wide range of significance levels. Obviously, I know that the sig. should be >0.05, which most the variables are...apart from 1 variable.
Does this mean all of my data is non-parametric ... |
I'm facing a challenge: writing my own general equilibrium model in MATLAB. I would like to ask for:
the basic needed knowledge in mathematics
the basic needed knowledge in programming
with references if possible.
I'm a master's degree student in economics, but I'm willing to put in the necessary efforts to achieve m... |
So I've been trying to algebraically prove that overfitting a model leads to greater variance values for the parameter estimates. I've gotten close (reduced the problem to showing a certain matrix is positive definite) but I don't really like the approaches I've taken and I'd like to see if there's a simpler way.
If a... |
I'm a mathematician self-studying statistics and struggling especially with the language.
In the book I'm using, there is the following problem:
A random variable $X$ is given as $\text{Pareto}(\alpha,60)$-distributed with $\alpha>0$. (Of course, you could take any distribution depending on one parameter for the sake ... |
Does the $R^2$ (or some other statistic) from a univariate linear regression tell me anything about how it would work in a logistic model? What if I normalized the data to mean zero?
I'm doing multiple logistic regression, and I'm wondering if I created a ton of univariate linear regressions, if I can use the $R^2$ as ... |
I used generalized linear mixed models (with the glmmADMB package) to identify environmental factors related to parasite abundance in rodents. I used stepwise backward elimination to sequentially simplify the full model until only significant factors and interaction terms remained (Crawley, 2007). However, when I check... |
I'm new to Topic Models, Classification, etc… now I'm already a while doing a project and read a lot of research papers. My dataset consists out of short messages that are human-labeled. This is what I have come up with so far:
Since my data is short, I read about Latent Dirichlet Allocation (and all it's variants) th... |
I am trying to wrap my head around splines and the concept of basis functions using the Elements of Statistical Learning. I understand that the goal is to find polynomials that are continuous at first and second derivatives. However, following the picture below, I don't understand whether
a) the spline consists of a ... |
I am running segmented regression using the R package 'segmented'. The original binomial logistic regression has two coefficients, approach_km (continuous), and sea (dichotomous) that explain the probability of the dependent variable occurring. I am interested in investigating if there is a break-point in the regressio... |
What are the best methods to accurately generate random integers distributed according to a power law? The probability of getting $k$ ($k=1,2,\ldots$) should be equal to $p_k = k^{-\gamma} / \zeta(\gamma)$ and the method should work well for any $\gamma > 1$.
I can see two naive approaches:
Compute $p_k$ up to some l... |
I've trained a classifier model using Vowpal Wabbit to decide if a person is Male or Female based on name alone. I assigned labels Male=0 and Female=1. When I ran Vowpal Wabbit in prediction mode, the output had values varying between 0.0 and 1.0. I interpreted this as p <= 0.5 ==> Male and p > 0.5 ==> Female. With thi... |
In the randomForestSRC in R, we have the example
data(veteran, package = "randomSurvivalForest")
pt.train <- sample(1:nrow(veteran), round(nrow(veteran)*0.80))
veteran.out <- rsf(Surv(time, status) ~ ., data = veteran[pt.train , ])
veteran.pred <- predict(veteran.out, veteran[-pt.train , ])
How can I tell if my model ... |
I don't quite understand this.
A question was, pretend we have 4 predictors and all of them are binary - for the Naive Bayes method, how many parameters are there to estimate in the training step? The answer was 2*4.
Then, another question was, if we draw an edge between predictors 1 and 2 to create a graphical model, ... |
I've just run a linear regression on an entire data set, but now I need to run the regression with data just from females within the data.
Females are denoted under the female column of the data set by a 1. Males are denoted by a 0 under the same column. I don't know how to remove the male data so I can run the regres... |
In the figure below, I've manually drawn an approximate solution to a least squares fit of the associated regions separated by black lines. The data appears to be bounded by two asymptotes (y=-18 and y = -75), which I then use for locating the regions.
1) What is a method for find these asymptotes and the associated t... |
I have a multivariate Gaussian for a set of data, and I'd like to compute the confidence interval for that data sample.
In hopes of finding an elegant solution, I did an eigendecomposition and transformed the data into the basis defined by the eigenvectors where the eigenvalues are the variance of that dimension. What'... |
I'm quite new to the area of spatial statistics, but I'm very interest in some general principles. The last two weeks I've created an example dataset, which contains three datsets.
A dataset of ill persons.
A dataset of cities with the the overall population.
A dataset of points, which visualizes waterfeatures.
The ... |
In the free online book Bayesian Methods for Hackers, the last figure shows the estimation of the expected value of $\lambda$ for any given day:
It looks like the author is calculating the expected value of the posterior for $\lambda$ for a given day. To do so, the author re-uses the MCMC samples from the full estimat... |
I work in a chemical laboratory and endeavour to estimate Measurement Uncertainty (MU) from sample retests. The procedure is well established. But what I an dealing with is a set of data where some duplicates are quite legitimate and reflect the underlying MU while others are not as the first test of the pair was, f... |
Homework Question
Hello,
I have a simple homework question that asks:
We know that when we sample, with equal probability from a finite population {x1, x2,..., xN} without replacement, we obtain a simple random sample instead of an (iid) random sample. Let X1,...,Xn (n < N) be the sample obtained. It is claimed in clas... |
I am very inexperienced with R and have only a limited background with Excel but have some data that I need to run a multiple non-linear regression with. What is the best way to do this? With R or Excel? What commands would I use?
|
Let $X_{ij}$ with $1\leq i<j\leq n$ (that are $X_{12},\dots, X_{1n},\dots,X_{(n-1)n}$) be ${n \choose 2}$ identically normal distributed $N(0,\sigma^2)$ such that
$
\text{corr}(X_{ij},X_{rs})=\rho
$
if $|\{i,j\}\cap\{r,s\}|=1$ and $0$ if $|\{i,j\}\cap\{r,s\}|=0$.
I'd like to estimate $\sigma^2$ if in the large sample ... |
I have a binary classification problem. I trained my dataset using a Support Vector Machine (SVM). Now I want to report the model I trained to a 3rd party so that they can use.
For the primal probem of SVM, the classifier equation is of the form,
y = w.x + b
where w is the weight vector, b is the constant and x is the... |
When doing principal components it is intuitively clear that noise accumulates more towards the last components. What would be the formal explanation of how and why this happens?
|
It is well known that the solution to the optimization problems proposed in Principal Components and Canonical Correlation Analysis are given by the solution to eigenvalue problems and generalized eigenvalue problems respectively. My linear algebra is quite rusty and I wanted to know if anyone could give me a semi-form... |
I am working on phylogeography on one model species and I am a beginner. You can imagine one species that came on locality more than 5 mya (million years ago). It was a good environment, so the species expanded very quickly. After climatic changes this model species split in two refugiums (isolated locations for a once... |
I want to compare the performances of two clustering algorithms that give me different numbers of clusters. I recently learned about the gap statistic. However, from what I have learned, this statistic is used to find the optimal number of clusters for one algorithm (On that page, for example, it is used to find the be... |
I am working on some data, more specifically some predictions of some outcomes.
The predictions vary on the continuous scale, between $-3$ and $3$. They can for example be:
$x_1=-2.4, x_2=-2.1, x_3=1.4, x_4=0.4, \cdots, x_n=-1.2$
Now, for each prediction, I also have the corresponding results,
$y_1, y_2, \cdots , y_n$,... |
I would like to draw bean plots using the statsmodel package for Python.
In the example provided on the documentation, I see a red plus sign in each beanplot:
What does it represent?
|
I am trying to include a term in an AR(2) model:
$$Y_t=\left( a_0+a_1 \frac{\exp(\beta_t)}{1+\exp(\beta_t)}\right)Y_{t-1}+bY_{t-2}+\delta\epsilon_t$$
Can anyone please help me with this? I don't seem to be able include this in the R code.
data=read.table("water.txt",header=T)
n=ncol(data)
koef=matrix(0,n-1,4)
rownames... |
I have a similarity matrix M - the value M(i,j) indicates the similarity between two elements i and j.
I want to approximate that matrix using a Gaussian Mixture model or I want to cluster that matrix into set of K clusters.
How can I do it? I am not sure about the input of the clustering algorithm.
|
I have multiple different training sets ($TS_1$, $TS_2$, .., $TS_n$) and one test set ($TS$). I have calculated the prediction measures precision, recall, and F-measure for each pair ($TS_n$, $TS$).
Is there any statistical method that can combine the prediction measures calculated for the different training sets?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.