instruction stringlengths 9 38.7k |
|---|
I'm new to PyMC and Bayesian stuff in general, so I started off with what I thought was a very simple toy problem. I generated some normally-distributed noise with a given mean and standard deviation, and then played with PyMC and looked at the posterior distribution of possible mu/sigma.
It's possible that I just don... |
I have a data set that lists every country in Africa, what their main contribution is to their GNI (industry,agriculture, etc), their GNI, and whether or not they have access to the sea. I need to find the relation between having access to the sea and GNI, and then what kind of economy they have an GNI (separately). I ... |
I have the following passage from a set of lecture notes I am working on that I would like to understand a little better.
$\underline{\text{Algorithm for Rejection Sampling}}$:
Given two densities $f$, $g$, with $f(x) < M.g(x)$ for all $x$, and some constant $M$, we can generate a sample from $f$ by
Draw $X \sim g$
Ac... |
From Wikipedia
Calculate the test statistic $W$ $$
W = \left|\sum_{i=1}^{N_r} [\operatorname{sgn}(x_{2,i} - x_{1,i}) \cdot R_i]\right|, $$the absolute value of the sum of the signed ranks.
As $N_r$ increases, the sampling distribution of $W$ converges to a
normal distribution.
Since $W$ is defined to be alway... |
I am considering the following question: when there are ties, how are ranks calculated?
In some references, they first rank them without repeating the ranks, and then average the ranks of those ties and assign the average rank to each one in the ties.
I was wondering if that way is unanimously used in statistics for de... |
Given a large amount of data, how would I determine the degree of collinearity between all the variables? Preferably without relying on calculating linear regression between a variable and every other variable? Specifically, I need to find the collinearity between any single variable and every single other variable.
Fo... |
I'm just curious about the null hypothesis of a Mann-Whitney U test. I often see it stated that the null hypothesis is that two populations have equal distributions. But I'm thinking - if I had two normal populations with the same mean but extremely unequal variance, the Mann-Whitney test would probably not detect this... |
I would like to measure the change of a policy in a community, that is, check
whether there was a change after the new policy was applied. The old policy
required that people had to give away a right in order to participate in a
community (similarly as academic journals work, where authors usually are
asked to give awa... |
The goal of the analysis is to find a correlation between birth context and stature, while controlling for age.
Each person has an ID number, age, stature, and birth context. That last part is what is giving me trouble. There are three type of birth context: foreign, which means they were born in another country, immi... |
I've been doing a machine learning competition where they use RMSLE (Root Mean Squared Logarithmic Error) to evaluate the performance predicting the sale price of a category of equipment. The problem is I'm not sure how to interpret the success of my final result.
For example if I achieved a RMSLE of $1.052$ could I r... |
I have two very important things to know. Can anyone help?
Question-1
If I have three categorical dependent variables and a continuous dependent variable, which are correlated (or associated), then if I conduct separate regressions with each dependent variable instead of a multivariate regression, what should actually ... |
This is very basic -
Something is pareto optimal if you can't improve the outcome for one player without worsening the outcome for another.
But what about where one player gets the same but the other player gets more? Is one pareto optimal?
E.g.
p1, p2
outcome 1: 2 2
outcome 2: 2 4
The move from outco... |
I have various sets of irregular interval time series data to which I want to apply some sort of smoothing algorithm to produce a good fit.
I have attempted various methods which all were unsatisfactory.
Loess - Too much of a tendency to overshoot/overreact to outliers
Moving Average - The lag is unacceptable
Example... |
I want to perform multiple linear regression on my variables; since my dependent variable was negatively skewed, I reflected it and then I log transformed it.
My independent variables was positively skewed, so I only log transformed them.
My first question is: after performing multiple linear regression on my variable... |
I'm reading up on the Guass-Markov theorem on wikipedia, and I was hoping somebody could help me figure out the main point of the theorem.
We assume a linear model, in matrix form, is given by:
$$ y = X\beta +\eta $$
and we're looking for the BLUE, $ \widehat\beta $.
In accordance with this, I would label $\eta = y - X... |
I'm trying to get aquainted with robust regression methods and there's something about M-estimators that I don't understand.
In "Robust statistics" (Maronna, Martin, Yohai) it is said that if both our x's and y's are random, the M-estimator of regression is given as a solution to
$$
\sum \rho (\frac{r_i (\hat{\beta})}{... |
I am looking for software packages for working with exponential random graph models (fitting/generating them and sampling from the graph distributions).
I have only found two packages so far, both using R: ergm/statnet and RSiena, with the former being much more popular.
Are there any other packages available?
I'm part... |
So I am running an experiment on transmission fidelity in humans depending on information type. This works by having chains of 5 people playing a Chinese whispers type game with 4 passages of information where the information is passed through the chain and information maintained investigated.
There are 4 different inf... |
Say I have the following simple Bayesian network involving 3 r.v.s A, B, and C:
$$
A \rightarrow C \rightarrow B
$$
I am trying to prove that A and B are conditionally independent given by marginalizing out C and seeing if I get out $p(a, b) = p(a)p(b)$ in
$$
p(a, b) = p(a) \sum_{c} p(b|c)p(c|a)
$$
However, I am not su... |
I have a confusion related to the dual of SVM
In the main objective function I have:
$$\mathcal{L}(w,b,\xi,\alpha,r)=\frac{1}{2}||w||^2 +C\sum\limits_i \xi_i -\sum\limits_i \alpha_i\{ y^{(i)}(w^T x^{(i)}+ b) - 1 +\xi_i \} -\sum\limits_i r_i\xi_i$$
Now to solve the dual of this objective function, I will minimize with r... |
I understand that we use random effects (or mixed effects) models when we believe that some model parameter(s) vary randomly across some grouping factor. I have a desire to fit a model where the response has been normalized and centered (not perfectly, but pretty close) across a grouping factor, but an independent vari... |
I know, that the white noise is called "white noise", because it comes from physics and has something to do with the spectral decomposition (is that right?) of the white light? I am not familiar with signal theory, so could anyone explain me why it is called white noise, especially the relation to the terms light, spec... |
I am trying to learn a linear regression model. However, I have some confusion related to the normalization of the data. I have normalized the features/predictors to zero mean and unit variance. Do I need to do the same for the target. If so why?
|
I have an experimental sample, size of about 1000 values. I need to generate a much larger sample for simulation. I can create a samples like this:
library(ks)
x<-rlnorm(1000)
y<-rkde(fhat=kde(x=x, h=hpi(x)), n=10000, positive = TRUE)#
z<-sample(x, 10000, replace = TRUE)
par(mfrow=c(3,1))
hist(x, freq=F, breaks=100,... |
I am doubting myself on which analysis to run for the following:
18 participants were evaluated at 4 time points with different conditions at each time.
They were given scores (on a discrete visual analog scale) by 2 raters.
The scores were calculated for a pair of participants: the pairs changed at each time point.
I ... |
I am required to use the Naive Bayes classifier to classify example 8, to see whether it is poisonous or not.
I gained the following results:
p(x|Poisonous=Y) = 0.0267857 and
p(x|Poisonous=N) = 0.0101989
If I am given extra information at a later stage that there is a 0.05 chance of poisonous plants being found, hen... |
Let $X$ be a random variable with expected value $\mu$. I need an upper bound on $\Pr( X < \mu )$. All of the bounds I could find deal with something like $\Pr( X < \mu - a)$ and become trivial if $a = 0$.
In the particular case I am interested in $X$ is a finite sum of independent random variables, i.e. $X = \sum_i ... |
The Gaussian, or squared exponential covariance is $k_{SE}(s,t) = \exp \left\{ -\frac{1}{2l} (s - t)^2 \right\}$. It is a common covariance function used in Gaussian processes. The Karhunen-Loeve expansion is an orthonormal decomposition of sample paths of a Gaussian process. If $g(t)$ is a sample path from a Gaussian ... |
How is "a testing procedure is valid" defined?
For example, in Wikipedia
Fisher's exact test is a statistical significance test used in the
analysis of contingency tables. Although in practice it is employed
when sample sizes are small, it is valid for all sample sizes.
Thanks and regards!
|
When I am running a 2 stage least squares, where do I put the control variables? Should I put the control variables in the first stage? The second stage? Both?
Can someone explain why?
|
I am trying to compute this posterior distribution:
$$
(\theta|-)=\frac{\prod_{i=1}^{n}p_i^{y_i}(1-p_i)^{1-y_i}}{\sum_{\text{all}\,\theta,p_i|\theta}\prod_{i=1}^{n}p_i^{y_i}(1-p_i)^{1-y_i}}
$$
The problem is that the numerator, which is the product of a bunch of $\text{Bernoulli}(p_i,y_i)$ probabilities is too small. (... |
I am a physician and have never had any formal training in statistics/biostatistics. However every time I come across a journal article, specifically on retrospective studies, I cannot help but feel a little suspicious that (a) the authors are trying to pull a fast one on me and/or (b) they are like myself and don't re... |
According to wikipedia, the coefficient of determination is
$$
R^2 = 1 - \sum_i{\frac{(y_i - f_i)^2}{(y_i - \bar{y})^2}}
$$
where $y_i$ is the $i^{th}$ sample value, $f_i$ is the model predicted value and $\bar{y}$ is the mean value.
I can imagine a simple case with two sample points where the coefficient of determinat... |
I'm using the lasso function in MATLAB to perform regularized regression for parameter selection. I'm new to LASSO, so I generated some toy data and tested LASSO with lambda = 0 to make sure I would get the OLS result (since there would be no penalty for model size). Unfortunately, I'm getting a value pretty close to t... |
I am preparing a graph for publication: it has 3 panels, and two groups (line graphs) in each panel, with error bars at each time point.
For one of the panels, the last time point (with fewer observations) has quite wide error bars.
Is there a hard and fast rule about the range of the y-axis?
Anything to cite to say ... |
Given 2 sets of test scores (the same students take both tests), I'd like to transform them such that they can be added to give a combined score.
The 2 tests have different variances, so adding them directly wouldn't work. Dividing each score by the standard deviation of that test then adding is better but this results... |
Over the past few days I have been trying to understand how Markov Chain Monte Carlo (MCMC) works. In particular I have been trying to understand and implement the Metropolis-Hastings algorithm. So far I think I have an overall understanding of the algorithm but there are a couple of things that are not clear to me yet... |
I build confidence bounds for estimating PDF of the empirical sample using bootstrapping:
data <- rnorm(1000)
d <- density(data)
boot <- replicate(100,
{ x <- sample(data, replace=TRUE);
density(x, from=min(d$x), to=max(d$x))$y})
CI <- apply(boot, 1, quantile, c(0.025,0.975)... |
I am trying to come up with a metric to calculate user preference correlation for my final project (a web-shop for shoes) at school. Originally I intended to include user ratings and use Pearson's correlation coefficient but building a rating system might be part of the exam so I have to leave that to the side for now.... |
In some lecture notes I am reading, there is the following;
Consider $X_{1},...,X_{n}$, each with pdf $g$ (the instrumental distribution). Our aim is to estimate $E_{f}[h(X)]$ where $h(X)$ is some measurable function and $f$ a pdf (the target distribution).
Then:
$\large\frac{1}{n}\displaystyle\sum\limits_{i=1}^n\frac{... |
I'd like to generate random data from a constrained normal distribution using R.
For example I might want to simulate a variable from a normal distribution with mean=3, sd= 2 and any values larger than 5 are resampled from the same normal distribution.
Thus, for the general function, I could do the following.
rnorm(n=1... |
Let's say we have a mathematical model that provides the probability of finding oil at a location in terms of a system of 10 bins with probabilities going from very low, say 2%, to 20% for the best bin.
Let's also assume that one of the measures we use to monitor the performance of this model is the Powerstat (Gini co... |
I am designing a study to compare whether one specific treatment improves Quality of life. I am using a convenience sample ($N=20$). I hope to administer three different questionnaires to each subject pre- and post-intervention (all validated and standardised) to compare pre and post QOL measures. One of questionnaires... |
I have two general questions about impulse response functions in R using the package vars. Take a look at this code:
library(vars)
data(Canada)
var.2c <- VAR(Canada, p = 2, type = "const")
plot(irf(var.2c, impulse = "e", response = c("prod", "rw", "U"), boot = T))
It produces the impulse responses to a shock in the v... |
I have researched the internet|literature a lot on multiclass prediction to find out what is a realistic limit for the number of classes that can successfully be used for estimation when using a RandomForest method.
The literature body on text mining sometimes comes up with really large numbers of classes (>1000), whi... |
I'm writing an implementation of factor analysis and I'm having trouble convincing myself (or even better, proving) that my varimax implementation is correct. What's the best way to prove that a Varimax implementation is working properly? I can imagine two different ways; does anyone know where I can find the following... |
Is there any timeline or historical overview of the most important breakthroughs in machine learning and data mining?
|
I was having this conversation with someone, and I feel like I have an explanation, but would greatly appreciate if someone could verify whether what I'm thinking is just completely wrong.
He made the argument that if you know that a variable [a] is correlated with a linear combination of variables [C], then you know s... |
Does the multiple hypothesis testing problem apply to the calculation of an F statistic for joint significance? It seems to me that the more variables you are including in your test for joint significance, the more you are accepting that any one of your tests will produce a false positive, right?
If so:
For all intent... |
If I have determined a curvilinear relationship between my dichotomous y and continuous x, what should I do before running a logit regression?
Should I log transform my x variable, etc?
|
I am attempting to use the kernel PCA features in kernlab but am having trouble understanding the output. In particular, it's unclear what scale the results are in when I try to project the original data unto the resulting eigenvectors. Here is an example:
require(kernlab)
x = data.frame(a=1:10, b=10:1, c=sample(1:10,... |
For a 2 by 2 contingency table, some said Fisher's exact test uses the count $X_{1,1}$ in the (1,1) cell in the table as the test statistic, and under null hypothesis, $X_{1,1}$ will have a hypergeometric distribution.
Some said its test statistic is
$$
|X_{1,1} - \mu|
$$
where $\mu$ is the mean of the hypergeometric ... |
I ran a small pilot study and computed both a p-value and Cohen's d. Now how do I compute the number of samples needed for the full study if I want a given power (e.g. 95%).
I hoped I could use this table, but I can't figure out how it's calculated.
Edit: More details on the study: We're manipulating a single variable ... |
I've been working on a bootstrapping problem that's left me a little confused and wondering whether I'm doing things correctly.
We have around 200 samples from a population of about 3,400, we want to bootstrap a value to estimate the total value for the 3,400 cases. Myself and a colleague both took slightly different a... |
Can someone generally explain when the area to the right or area to the left is sufficient in solving a statistical problem (using z, t, or chi)? For example, in a chi-squared problem, if we're looking at a table of p-values we are generally interested in the area to the right. Why is this? What is the area to the r... |
Suppose you want to test the null hypothesis:
H0: p1 = 0.65, p2 = 0.27, p3 = 0.01, p4 = 0.05, p5 = 0.02
to determine whether a population's distribution matches the proposed proportions. You acquire a random sample of 100 individuals. If the null hypothesis were true, what is the expected value of the test statistic?... |
In R, if I call the lm() function in the following way:
lm.1 = lm(response ~ var1 + var2 + var1 * var2)
summary(lm.1)
This gives me a linear model of the response variable with var1, var2 and the interaction between them. However, how exactly do we numerically interpret the interaction term?
The documentation says thi... |
Suppose we want to study the association between alcohol consumption and cancer. If we include people who also smoke (a confounder), would this lower the relative risk of cancer for alcohol drinkers? If we only include people who do not smoke, this would increase the relative risk of cancer for alcohol drinkers?
|
I have 60 patients with squint classified according to age group into 6 categories and according to prognosis on their treatment into improved and same.
If I want to see if there is a difference among the 6 age groups in regard to prognosis what test statistic should I use?
I tried to use chi square but couldn't apply... |
Suppose we have a baseline exposure group and 2 other exposure groups for a case control study. Suppose the odds ratio for the first exposure is $1.5$ and the odds ratio for the second exposure is $1.8$. Does this mean that cases are $1.5$ times as likely to have exposure 1 than the controls? Also does this mean that c... |
I am trying to do a correlation between a 4 level likert scale with 11 items and a dichotomous present-not present scale of the same 11 items. Can I do this?
|
A certain town has two taxi companies, the Green Taxi Co (cars coloured green) and the Blue
Taxi Co (cars coloured blue). 10% of taxis are the Green and 90% are the Blue. There was an
accident on a dark evening, and the witness claimed a Green cab was involved. On future testing, they discovered that under the con... |
Are there any other methods for an $m\times n$ contingency table with $m$ or $n$ greater than 2 for use with small samples ($np<5$) other than Fisher's exact test?
|
I would like to ask if I have an event when flipping a coin for $n$ times until a first head is observed.
Event $E$: the first head on even numbered flip
Event $H$: head on first flip
Let $P(H) = p$
I am required to find $P(E)$
I know $P(E) = P(E|H)P(H) + P(E|H^c)P(H^c)$ where $H^c$ be the negation or complement of $... |
I am having trouble finding the technical term for a scale used in survey research with opposite values at both ends of the scale. For instance, how can I refer to a scale of the following kind:
In your opinion, who is responsible for health care?
Government (1) --- (2) --- (3) --- (4) --- (5) Citizens?
|
My ACF- and PACF plots are illustrated below:
The first one is in original scale and the second picture is zoomed. What process would you classify this? AR, MA or ARMA? =)
Thank you for any help =)
|
Is it true that under the Gauss Markov assumptions the ordinary least squares method gives efficient and unbiased estimators?
So:
$$E(u_t)=0 $$ for all $t$
$$E(u_tu_s)=\sigma^2 $$ for $t=s$
$$E(u_tu_s)=0 $$ for $t\neq s$
where $u$ are the residuals.
|
I include MDS analysis in a customer survey and have about 10 brands I want to include in the perceptual map at the end. Meaning the customers would have to rate 45 comparisons and give a similarity rating of 1 to 7 to each of the 45 comparisons.
Now my question. Is it a problem when NOT all customer rate the similarit... |
To prove the efficacy of a test (to be more precise, a moderated t-test from two groups of samples), I need to compare the p-values obtained from my test against a null distribution of 1000 random p-values generated by permutation (rationale: show that Type I errors are accounted for properly).
My goal is to determine ... |
We know that as the number of independent variables increases, the coefficient of determination $R^2$ will increase but the adjusted $R^2$ may or may not increase. In the following question for the sake of simplicity I shall write only $R^2$ but it must be understood that the question applies to both $R^2$ and adjusted... |
I guess the answer should be yes, but I still feel something is not right. There should be some general results in the literature, could anyone help me?
|
In one paper describing results of survival analysis I have read a statement that implies that one can translate Hazard ratio (HR) into ratio of median survival times ($M_1$ and $M_2$) using the formula:
$HR = \frac{M_1}{M_2}$
I'm sure it doesn't hold when one cannot assume proportional hazard model (as nothing works i... |
Inspired by this answer, I have following question: Is it enough to know just skewness and kurtosis in order to determine distribution that data comes from? Is there any theorem that implies this? Moreover, can we replace skewness and kurtosis by any other pair of moments (for example expected value and variance)?
|
I'm trying to understand the construction process of DP, however, with little background in measure theory, the original papers are hard to read, but I believe the ideas behind these papers can be followed.
Let $y_1, y_2, \ldots, y_n$ be i.i.d. with distribution function $F$, which is characterized by $k$ unknown prob... |
I am writing my master's thesis in quantile multilevel regression.
My professor all of a sudden decided to change the subject of my thesis into something that could be called "quantile multilevel multivariate regression".
He asked me to proof that MANOVA is a special case of mixed-models (saying that "someone has publi... |
I've looked through a lot of literature available online, including this forum without any luck and hoping someone can help a statistical issue I currently face:
I have 5 lists of of ranked data, each containing 10 items ranked from position 1 (best) to position 10 (worst). For sake of context, the 10 items in each lis... |
I am have to make this basic game engine.The offensive player has 5/6 chance to make a shot(83%).. And defense player has 4/6 chance(57.6%) to defend it.So when offensive player make a shot,how do I calculate the success rate of both players.Thank you for taking time to read this.I am starting new in this.Thanks in adv... |
Let $(x_i,y_i,z_i)_{i=1,\dots,n}$ be an i.i.d. sample of $(X,Y,Z)$. How one can estimate the following object
$$\int_{-\infty}^xf(\bar x,y|z)\mathrm{d}\bar x$$
where $f(x,y|z)$ is a density of $X,Y$ conditional on $Z$.
We know that $F(x) = \int_{-\infty}^xf(\bar x)\mathrm{d}x$ can be estimated using $\hat F(x) = \frac... |
This question is about hypothesis testing in the Bayesian framework which I am new to.
Suppose I have two independent Poisson models with parameters $\lambda_1$ and $\lambda_2$ such that $X \sim Pois(\lambda_1)$ and $Y \sim Pois(\lambda_2)$. $n$ observations are drawn from each of the distributions $X$ and $Y$. If I pr... |
Help! I have 2 groups (New Professionals and Experienced Professionals) would have received the same training. Both groups were given a survey before and after the training. I have not been given the survey, but I do have 18 variables provided in the data set as clues to what was is the survey. I am suppose to repo... |
I have a slight confusion regarding seasonal models and which polynomial to use for conducting unit root tests.
Given a model:
$\phi(B)\Phi(B^s)\Delta^d\Delta^D_S X_t = \theta(B)\Theta(B^s)\epsilon $
When I compute the roots for unit root tests, which polynomials do I calculate the roots of?
Only the basic $AR(p)$ ... |
Let $c_i$ be the center of a micro-cluster (i.e. we have many centers representing some fragments of clusters). Let $c_1$ be the center which is the closest to a new data-point $x$, such that $d_{x,c_1} = distance(x, c_1)$.
(1) Is it possible to express d by a probability $d_{x,c_1}$ by a probability $p_{x,c_1}$ which ... |
I recently was told that the process I followed (component of a MS Thesis) could be seen as over-fitting. I am looking to get a better understanding of this and see if others agree.
The objective of this part of the paper is to
Compare performance of Gradient Boosted Regression Trees against
Random Forests on a data... |
If in standard OLS regressions two assumptions are violated (normal distribution of errors, homoscedasticity), is bootstrapping standard errors and confidence intervals an appropriate alternative to arrive at meaningful results with respect to the significance of regressor coefficients?
Do significance tests with boots... |
I have a dataset from a bank with demographic data and one variable telling if the customer is a good customer or not (binary variable). I would like to do prediction on if the customer is good or not based on this demographic data.
I managed to do it with a logistic regression, but would like now to compare the result... |
I would like to provide an intuitive visualization of my database for readers and users of the database that does not require technical knowledge of database structure. The figure will be included in a journal article, and the audience is primarily students and scientists, many of whom will not understand concepts such... |
I've ben sent a forecast of sales from a consultancy. It uses Excel's LINEST function, taking 4 factors that seem to have affected sales in the past, and used them to make a prediction.
How do I go about adding error bars to this prediction? I believe LINEST provides a standard error, but using that would give me con... |
As the title: Do Bayes factors require mutliple comparion correction?
For more context, I am calculating very many likelihood ratio tests and I am thinking about how to handle multiple comparison correction. I thought Bayes factors might present a solution - if I am presenting the results in the Bayes factor evidence s... |
I was wondering if there is a relationship between $R^2$ and a F-Test.
Usually $$R^2=\frac {\sum (\hat Y_t - \bar Y)^2 / T-1} {\sum( Y_t - \bar Y)^2 / T-1}$$ and it measures the strength of the linear relationship in the regression.
An F-Test just proves a hypothesis.
Is there a relationship between $R^2$ and a F-Test?... |
I have clustered over 4000 textual files, and now I want to check and evaluate clusters. I want to use F-measure (a mix of recall and precision).
The formal definition of F1_score is:
$$
\text{F-measure} = 2 * \frac{\text{precision} * \text{recall}}{\text{precision} + \text{recall}}
$$
To calculate the precision and ... |
Please consider the following OLS model:
As a rule of thumb, a VIF score of max. 5 is considered acceptable collinearity in most fields. So for the better part I believed this model to be quite nice and significant (R-squared .516).
However, by adding only 2 variables (at the bottom of the model), many values change s... |
If $X_i, i=1,...,$ are independent, identically distributed $\operatorname{N}(0,1)$ random variables, and $Y_i = X_i^2$ are independent $\operatorname{Gamma}(\frac{1}{2},\frac{1}{2})$ RVs, use the Central Limit Theorem to calculate the approximate values of the probabilities:
$\sum_{1}^{50} {Y_i \gt 40}$ and $\sum_{1}^... |
If I run a randomForest model, I can then make predictions based on the model. Is there a way to get a prediction interval of each of the predictions such that I know how "sure" the model is of its answer. If this is possible is it simply based on the variability of the dependent variable for the whole model or will ... |
Simple case: Suppose we have $N$ observations of $X_i$ that we believe are theoretically iid binomial random variable $\text{Binomial}(k, p)$. Well, one way we could test to see if this is true is using the standard Pearson's chi-squared statistic.
The question: Suppose we have a more difficult problem, where we have $... |
I've started reading about Random Forests and one of the attributes that appeals to me is that they are good at dealing with independent variables that interact with one another. Does Random Forest also "automatically" transform variables into, for example, the square of the variable? Is there a good reason to square... |
In longitudinal studies, you might be observing time-to-event endpoints with some covariate that changes as a function of time. When covariates are fixed at baseline, the only independence assumption involved is within the risk set, or the collective at risk observed during event times. Otherwise, the fact that an indi... |
Before starting an a/b test with a control and one experimental route, I can calculate a required sample size based on conversion rate estimates for both routes. I can get a good estimate of the conversion rate of the control by looking at historical data. But the conversion rate of the experimental route is unknown. W... |
I have a 20-yr dataset of an annual count of species abundance for a set of polygons (~200 irregularly shaped, continuous polygons). I have been using regression analysis to infer trends (change in count per year) for each polygon, as well as aggregations of polygon data based on management boundaries.
I am sure that ... |
I have a question on Kalman-Bucy filter:
The prior distribution is $g \sim N(0,σ_g^2 )$, signal is $ds=(μ+g_t )dt+σdZ_t$, posterior distribution becomes $g_t \sim N((\hat{g_t},\hatσ_t^2)$. Here,$σ_g,μ,σ$ are constants.
Now, if I change the prior mean from 0 to $a$, where $a$ is a constant, other things remain the same,... |
I am facing the evaluation of a genetic programming algorithm. I am using the Proben1 cancer1 dataset to evaluate the models created by this algorithm. This dataset contains 699 samples, which is currently divided into 50% training, 25% validation and 25% test data. Many academic articles use k-fold validation for eval... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.