instruction stringlengths 9 38.7k |
|---|
I'm learning about variational inference and tried to follow the example for a Gaussian Mixture as described here.
I could follow the bound for $\phi_k$ which is the difference of two Beta log likelihoods.
But I cannot follow the example for the bound for $\mu_k$ which is the difference of two multivariate Normals.
The... |
Example data:
df <- data.frame(Proportion = c(0.1,0.15,0.22,0.20,0.29,0.37,0.41,0.36, 0.47,0.67),
Age = c("15-20", "20-25", "25-30", "30-35", "35-40", "40-45",
"45-50", "50-55", "55-60", "60-65"))
plot(df$Proportion, ylab = "Proportion")
From the plot the Proportion seems ... |
I have two pictures of a mole, but second picture is slightly different from the first because mole has changed its form a bit. Both images have different perspective, so I am willing to compute a homography to transform the second image's perspective to the first one's perspective.
I know it could be done when images ... |
The following estimators can be used for the german-tank-like problems.
If we collect a sample of size $k$ with sample mean $\bar{x}$ and highest number $m$, then we can estimate the population size with either $\hat{x}_{1}$ or $\hat{x}_{2}$:
$$\hat{x}_{1} = m + \frac{m}{k} - 1$$
$$\hat{x}_{2} = 2 \bar{x}$$
After compu... |
In the tutorial, it is said that:
Let v range over the tags. Define U(k, v) to be the score of the best
sequence of tags from 1 to k, where tag k is required to be v. This is
a maximization over k −1 tags because tag number k is fixed to have
value v
It is very confusing that why should the Kth tag be fixed?... |
Let's say that T1, T2, T3 are random variables, $T_1$ and $T_2$ are independent and $T_3=T_1+T_2$.
Are $T_3$ and $T_2$ independent? Intuitively, i'd say no. However I cannot find a proof of it.
|
I am not sure about plotting a biplot for LDA. Suppose I have a 3 feature data set with 3 classes. Then, I perform LDA to reduce the dimensionality to 2. How can I create a biplot for the LDA?
My understanding of biplot (I may be completely wrong) is simply a projection of the original features in the hyperplane (or li... |
I'm trying to give an upper bound for the VC dimension of the hypotheses class $H$ of NN with binary output, $L$ layers (feedforward, fully connected), each layer except the output layer contains $d$ nodes, and sign is the activation function.
The idea is first to find the number of parameters $N$ of the network, and ... |
Say I have two logistic models, the null model ($\omega_0$) and a model with one covariate ($\omega_1$). That is
\begin{align}
\omega_0: \quad \text{logit}(p_i) &= \beta_0 \\
\omega_1: \quad \text{logit}(p_i) &= \beta_0 + \beta_1 x_i
\end{align}
where $p_i = P(Y_i = 1)$ for some $Y_i \sim \text{Bernoulli}(p_i)$.
Sho... |
Preface
I've looked at
How should we convert sports results data to perform a valid logistical regression? and How to simulate head to head competition based on winning percentages? but I didn't get it to a 100%.
Question
We have 5 rows about head to head competition between elderly people playing bridge. We have compe... |
This is a minor side-project I have been playing with and I wanted to see if anyone might have suggestions.
Problem. I used a dataset of loans with payment and borrower credit history (https://www.lendingclub.com/info/download-data.action), where each loan is a 36,60 month term. I am not so concerned with defaults vs.... |
I have a historical dataset which tells who bought our products. This dataset contains
ID,
Age
Gender
Salary.
I have another set of data which contains the four fields above.
How should I use R to calculate the probability of purchase of each customer in the second dataset or whether they would buy our products (T/... |
I'm looking at an example in my lecture notes where $X_1, X_2,...,X_n$ are iid $N(\mu,\sigma^2)$, where $\sigma^2$ is known. $\bar{X}$ is an unbiased estimator of $\mu$.
The pivot for the confidence interval is given as
$\frac{\bar{X} -\mu}{\frac{\sigma}{\sqrt{n}}}$
and the notes state that this pivot does not depend o... |
I reproduced a trivial game found in an Udacity course to experiment Markov Decision Process. I was really surprised to see I found different results. After some research, I saw the discount value I used is very important. When I choose a discount of 0.5, I got different results but with a discount of 0.999, the result... |
I am trying to figure out how to do learning using probabilistic programming languages. For this I am following different paths to get a hold on the way of thinking.
I understand modelling using neural networks, and understand how learning in this context works. Now I am trying to figure out the analog in Bayesian reas... |
I am doing some work on aggregation bias and MAUP. I have ols linear regressions on the same spatial data at 20 or so levels of aggregation-by-neighborhood-mean, from very fine to very coarse. I have been looking at all regression stats across those levels, but I am interested in whether the AICs are truly comparable,... |
Let me explain my question. Consider, for example, a Weibull mortality curve with covariates included:
$$\mu_{x}=\bigg(\frac{a}{b}\bigg)\bigg(\frac{x}{b}\bigg)^{a-1}\text{exp}(\beta Z)\quad\quad a,b,x>0$$
where $\beta$ is a $(1\times n)$ matrix and $Z$ is an $(n\times 1)$ matrix. We can derive the cumulative hazard fun... |
Is the Kaiser rule (choosing only PCs with eigenvalues >1, see e.g. here on Wikipedia) a reasonable method to select the number of principal components to retain? What are its pros and cons?
|
Let the model $$y_t=y_ {t-1}-0.25y_{t-2}+\epsilon_t$$ where
$\epsilon_t$ is White Noise with mean zero and variance $\sigma^2$.
a) Find the forecasts $y_t(1)$ and $y_t(2)$.
b) Find $Cov(y_t(2),y_t)$. Express the result in function of
$Var(y_t)=\gamma(0)$.
This is an $AR(2)$ process with zero mean. In this notatio... |
Say for 4 companies' close prices time-series with 500 observations each, I first estimate the Vector Autoregression of lagged order p, VAR(p). I achieved this by using Ordinary Linear Squares (OLS) with the following steps:
1) Form the dependent matrix Y with dimensions (row,columns): {4 x (500-p)}, where the oldest p... |
I have seen a question that claims transformation changes a distribution into a normal distribution. Is this a correct assertion?
|
I am trying to solve a statistics problem with very little statistics theory. I can determine a solution to my problem by writing a simulation program, but I really need to have the proper formula instead.
I have a Gaussian Normal distribution with Mean x and Variance v. I have defined a second function that is simpl... |
Bound for distribution of sum of RVs with fixed marginals has been discussed, for example in Best-possible bounds for the distribution of a sum — a problem of Kolmogorov.
Is there similar paper discussing bounds for distribution of X/Y with fixed marginals of X and Y?
|
The insulin-sensitivity check index (QUICKI) has an excellent linear correlation with the glucose clamp index of insulin sensitivity (SI_Clamp) that is better than that of many other surrogate indexes. However, correlation between a surrogate and reference standard may improve as variability between subjects in a coho... |
Assume that $X_1$ and $X_2$ are two i.i.d. random variables with pdf $f$. Also, assume that $a$ and $b$ are two fixed real numbers such that $a>b$. If $g$ is a strictly increasing function, do I have:
$$
E[g(a+X_1)] > E[g(b+X_2)],
$$
where the expectations are with respect to the distribution of $X_1$ and $X_2$? To me,... |
I am implementing a variance-covariance matrix myself and I'm having some trouble understanding what is meant by the expectation this equation:
$ Cov(X, X) = E[(X - E(x))(X - E(x))']$
From what I understand, the expectation of a matrix of variables is the expectation of the columns of the matrix:
$ X = \left( \begin{ar... |
I have been trying to estimate parameters of a poisson regression. I am using Newton Raphson method. This method requires that the inverse of Hessian be computed to obtain, updates to beta vector. The text book that I am using defines the Hessian as
$$-\sum x'_{i}xe^{x'_i\beta}$$
This doesn't seem to be a $p \times p$... |
I have a dataset from an experiment in which a sample of participants repeatedly done a variation of visual search task (for each participant there is about 400 trials) in two conditions. The predictions for this experiments suggest a comparison between two non-linear models that have the same number of parameters and ... |
I'm following the procedure in this post (Adjusting daily time series data for the seasonal component) on R 3.2.3 (linux).
The de-seasoning process in the above post works fine. But with my data, a weather time series with 32,000+ observations, the same process leaves behind a noticeable seasonal trend, as shown below... |
In a credit risk model, the probability of defaulting 18 months in the future is estimated as a function of a set of characteristics $x$. We index individuals with $i$ and periods with $t$.
An outcome variable $y^i_t$ is constructed so that:
$y^i_t = 1$ if $Default^i_{t+18m} = 1$
$y^i_t = 0$ if $Default^i_{t+18m} = 0$
... |
I always read that every maximum likelihood estimator has to be a function of any sufficient statistic. The idea is that, if we are dealing with a random variable $X$ with mass or density function $f(x\mid\theta)$, and $T$ is a sufficient statistic for $\theta$, then by the factorization theorem $f(\vec{x}\mid\theta)=g... |
I've been reviewing the results of an interesting chemistry experiment a colleague of mine was conducting, and she sought some help analyzing the results. Would you be able to help, please?
The experiment settings
A set of 1,200 known chemical substances denoted $s_1, s_2, s_3, ..., s_{1200}$. 10 of which are have a s... |
I have a colleague that wants to fit a nonlinear model to the independent variables X (X is an n x k matrix) and the dependent variables Y (Y is an n x 1 matrix). The difficulty is that each row of Y could be from one of two different "types" of data, T1 and T2.
There are two different functional relationships between... |
Folks
I've read in many places that the margin of error doesn't depend on the population size, and yet several online calculators a) ask for the population size and b) give different results depending on what's entered. Here are some examples:
http://www.snapsurveys.com/support/calculators/margin-error-calculator/
http... |
Let's say I have a series of some values.
When I transform the series now by simple shrinkage, for instance, multiplying the original value by 0.5 and adding 0.5 constant .
Then, are both series correlated perfectly with 1 as coefficient?
|
I performed a simple ANOVA in R and then generated the following TukeyHSD() comparisons of means:
I have a pretty good idea (I think) of what all this means except the 'p adj'. If I'm correct:
The difference in test scores between say Juniors and Freshmen is 4.86, with Juniors averaging 4.86 points higher.
The 95% c... |
Let $\overline{X} = \frac{1}{n} \sum_{i=1}^n X_i$, and
$S^2 = \frac{1}{n-1} \sum_{i=1}^n (X_i - \overline{X})^2$.
It is well known that if the $X_i$ are IID normals, say $X_i \sim N(\mu, \sigma)$, then $\frac{\overline{X} - \mu}{S / \sqrt{n}}$ is $t$-distributed with $n-1$ degrees of freedom. In turn, as $n$ goes to in... |
According to the definition of T distribution, the numerator (stand normal distribution) should be independent of the denominator ( chi square distribution).
If the population of the sample is normal distribution, we could prove the sample mean distribution and sample standard derivation distribution are independent. O... |
I have a series of questions with binary choices, which are coded as 1 and 0. I created a percentage by adding up the "1" responses and dividing by the total number of questions. For example, for one respondent, if they gave a "1" response for 6 out of 10 questions, their rate would be 60%.
The design of the study is ... |
I have some data taken at multiple time points from a set of individuals, but without tracking the individuals.
For example, at each of six time points, the heights of all individuals are recorded -- but there is no information on which height came from which individual. (This is similar to the R builtin data-set Loblo... |
If you perform, say 10 fold cv with logistic regression and then average the coefficient vectors from each turn, does that average roughly equal the coefficient vector you would get by fitting a logistic regression to the whole dataset?
Here is an example using a sklearn logistic regression that performs a random searc... |
What would be the distribution of the following equation:
$$y = \frac{a}{(a+d)^2}$$
where $a, d$ $\sim$ $\Gamma(M,c)$. Additionally, $a$ and $d$ are independent random variables.
|
I'm trying to simulating time-series of count data given an underlying population model in order to get a better feel for the processes shaping the data. As I am modelling the actual time-series of counts following eq (1) and (2) (substitute m for t), the aim of the below simData() is to generate count data given the u... |
When applying the Diebold-Mariano test to test for predictive accuracy we need to specify a loss differential. For instance the loss differential $d$ in terms of the mean absolute error (MAE) is
$d = abs(e_1) - abs(e_2)$
where $e_1$, $e_2$ are the errors of two competing forecasts and are nobs-by-1 matrices.
When we wa... |
I'm working on a paper with a senior colleague who provided data. To make it general, we are studying whether something (measured by X) affects an outcome (measured by Y). Since unobserved factors may affect both X and Y, I argue that we can consistently estimate the effect of X on Y with an instrumental variable W for... |
My research is archaeological and I am looking at distribution of Roman lamps across time. Most of my lamps are coded into 50-year brackets within a single categorical variable (0-50 CE =1, 50-100 CE =2, 100-150 CE =3, 150-200 CE =4 and so forth).
I, however, have a number of lamps that cannot be neatly dated/categori... |
I have used a questionnaire to collect data from 200 people.
This questionnaire was obtained from a published research paper in which researchers had used it in a specific population. It involves 34 items that are nominal multiple choice questions with one possible answer.
For example: Which factor do you consider?
X
... |
This is something that has been bugging me for a while, and I couldn't find any satisfactory answers online, so here goes:
After reviewing a set of lectures on convex optimization, Newton's method seems to be a far superior algorithm than gradient descent to find globally optimal solutions, because Newton's method can ... |
Let the process $\{y_t\}$
$$y_t=0.6y_{t-1}-0.08y_{t-2}+\epsilon_t-0.5\epsilon_{t-1}$$ where
$\epsilon_t$ is White Noise with zero mean and variance $\sigma^2$.
Is possible to find the $AR(\infty)$ representation?
First I write the process using lag operators
$$y_t(1-0.6B+0.08B^2)=\epsilon_t(1-0.5B)$$
If a pro... |
This problem was taken from a free online Computational Neuroscience class {1}.
Suppose we are diagnosing a very rare illness, which happens only once in 100 million people on average. Luckily, we have a test for this illness but it is not perfectly accurate. If somebody has the disease, it will report positive 99% of... |
I'm trying to asses how accurate FiveThirtyEight's NBA predictions were for the Pistons. They give a percentage chance for a team to win for every game. I wanted to test that against the actual outcome and see how accurate they've been overall for the Pistons.
This is probably a really basic question, but it's been a w... |
Recently I have found that in the applied econometrics literature, when dealing with feature selection problems, it is not uncommon to perform LASSO followed by an OLS regression using the selected variables.
I was wondering how can we qualify the validness of such a procedure. Will it cause troubles such as omitted v... |
I'm trying to reproduce the Diebold&Mariano test available in Stata13 and I think there is an error in the suggested implementation.
At the bottom of the file you have:
// apply cross to get the covariances and scale by T
gamma = cross(X,X) :/ strtoreal(st_local("T"))
The problem is that "T" is a constant equal ... |
A coin that lands on heads with probability $p$ is flipped until either $n$ consecutive heads appear or $n$ consecutive tails appear. What is the expected number of coin tosses?
I get
$$\mathbb{E}[C_n]=\mathbb{E}[\mathbb{E}[C_n|H]]=\mathbb{E}[C_n|H=1]\mathbb{P}(H=1)+\mathbb{E}[C_n|H=0](1-\mathbb{P}(H=1))$$
Where
$C_... |
I am working with an insurance dataset with around 77 predictors which are all categorical with multiple categories each represented by a number for example one such variable can have 20 levels few of them are given below:
" 1 High Income, expensive child
2 Very Important Provincials
3 High status seniors
4 Affluent se... |
I have question on the methods of performing meta analysis.
I have data that consists of multiple Randomized Control Trials (RCT) with different dose levels and observational studies with different dose level as well.
The responses are brain pressure measured as continuous random variable.
So my understanding is that... |
When I trained ANN model, sometime training set has high R-square but testing set has low R-square. How to explain this situation?
Is there any over-fitting problem? (Show in figure)
|
In this question, I do not understand how to create the random values from this density function. The plot histogram part of the question is not problematic. Would someone please give me a hint as to how to generate the random values?
|
Is the Kaiser rule (choosing only PCs with eigenvalues >1) a suitable method to select the best principal components?
|
As the title asks: is there a fast (e.g., polynomial) algorithm to compute a 2-means clustering for a cloud of 2D points?
|
What are the advantages using Principal Components as input for neural networks compared to using "normal input" for neural networks?
|
I am having problems analysing a data set from a study with unbalanced design and that contains repeated measures...I inherited the data and I'm a bit lost.
The response variable is core body temperature, and the other variables are study, time of day (hh:mm), shade temperature, sun-exposed temperature and body mass.
T... |
Is there any way to constrain weights of some fully connected layer of CNN(classification task) to be binary (0,1) or near binary(and then just threshold to binary)?
Update:
I want to use binary features from this layer to search similar images using hamming distance, something like {1}.
References:
{1} Lin, Kevin, H... |
In a lab experiment Participants took part in four different treatment. At the beginning of each session they were randomly assigned to groups of 4 and played repeated public goods game for 30 periods.
So far I have collapsed the data to obtain group averages, so that observation in a period are independent. This data ... |
What is Cov(X - Y), where Cov is covariance?
Cov(X - Y) not Cov(X,Y). That is covariance of difference of two random variables like we have as Var(X - Y) = Var(X) + Var(Y) - 2Cov(X,Y)
|
I have panel data of variable X consisting of 100-time points and 200 entities. I want to estimate clustering (ARCH effects) of X over time. Please suggest appropriate statistical method and implementation in R. Thanks
|
I'm a moderate beginner in stats, so this may or may not be something you can sensibly answer.
In my data I have two parameters for each timeline, the number of events in a normalized timeline and the location of these events on the timeline. I have noticed a trend by which when the number of events is low, they tend t... |
I am new to nonparametric regressions.
What tests should one perform to choose a non-parametric regression model over a parametric one(Or vice versa)?
Let's assume in our analysis we have a continuous dependent variable Y and regressors - X1 which is categorical and X2, which is continuous.
We then perform a a simple l... |
I have a seven step process that users can complete but can stop at any time - basically a marketing funnel. At each point along the funnel I am collecting more data.
I want to be able to predict how far into the the funnel a subject with x set of attributes will go.
Is linear regression a valid approach where my y var... |
I have a continuos time signal (speech signal) and I will add noise to it at different SNRs. I want to compare the entropy or the original signal (clean speech) with the noisy ones. The idea is to show that the entropy of the signal increases when you add noise.
¿Can I make this comparison by using the differential ent... |
I constructed a Bayesian network which presents the conditional independence
among N random variables. Each random variable $X_i$ represents a Bernoulli random
variable with an associated success probability $\pi$ (the probabilities, $\pi$`s, are
the parameters of the Bayesian graph).
I'm interested in computing the s... |
I am relatively new to machine learning and have recently had some exposure to Decision Trees, Boosting, Bagging, and Random Forests. This has created an interest for me in this field and am now considering writing my thesis incorporating some of these algorithms. I have several ideas in mind, however the data I am cur... |
I'm trying to analyze data that consists of the percentage of a specific area that is covered with a specific cell (postmortem human material) at three different age groups. Visually, the data appears to be approximately normally distributed, and this was confirmed with a Kolmogorov-Smirnov test (p = 0.806).
However, t... |
I have a dataset (~20k samples) of sensor data gathered from a smartphone. What I want to do with it is to detect those spikes you can see in the graphs below.
They occur when the user presses a button.
I want to label the data that refers to those spikes, but only this data. The other data is not relevant for my resea... |
I have 150 individuals coming from the same population. I want to know what is the minimum number of individuals I need to estimate the frequency for ~1600 different characters.
Each character can have a value of 0, 0.5, 1 or NA (couldn't be calculated). This means that the number of individuals used for each character... |
First, I am an absolute beginner in this field of science.
For my research task, I need to use mobile sensor data to determine a user's keypresses (similar to this: Keystrokes Inference Attack on Android: A Comparative Evaluation of Sensors and Their Fusion).
What I did:
Collect the sensor data for each sensor (timest... |
I am looking at this link http://strata.uga.edu/8370/lecturenotes/principalComponents.html where it says
In interpreting the principal components, it is often useful to know the
correlations of the original variables with the principal components.
The correlation of variable $X_i$ and principal component $Y_j$ i... |
My Problem
Within the context of an n-dimensional multivariate normal distribution with estimates for the means and covariance matrix, I am trying to calculate the probability of 1 or more, 2 or more, 3 or more, etc. of the included dimensions having a score of 0 or greater. At the moment, I accomplish this through sim... |
This is more a question about how to weigh several statistical numbers. Or, which statiscal measure does exist to properly compare these two countries on this matter of road traffic safety?
filler deaths per deaths per deaths per ---filler--
Country 1 mill ppl 10 bill km 100K cars population
USA... |
I have a set of simulation output that has an error value associated with each trial, along with the parameters that were used. In practice, some of these parameters will be fixed by the environment while the rest can be chosen. These parameters are all continuous, and most have nonlinear relationships with the error.... |
I'm trying to train an LSTM on a regression problem. After observing it for a while, I'm noticing a strange effect. The training loss decreases every epoch, which is expected, however the validation loss swings from dramatic improvement to dramatic worsening.
For example, in epoch 10 (e.g.), the validation loss may d... |
I'm applying the function conv2d_grad_wrt_inputs in theano to deconv a feature map into the original image.
In the figure below the first image to the left is the input image which I'm applying convolution and the result is the feature map in the second image while the third image is the deconvolution process.
I'm ap... |
I have two populations with n=18 and I'm trying to find out if it makes sense to compare them with a t-test. I ran a Shapiro-Wilk test in SigmaPlot 12.5 for both populations seperately and these are the results:
population1: W-Statistic = 0.900 P = 0.057 Passed
population2: W-Statistic = 0.912 P ... |
In Python, I have some 'VALUE' with a metric for 'WEIGHT' in a pandas DataFrame:
import pandas
frame = pandas.DataFrame(
{
'VALUE': [1,2,3,4,5]
, 'WEIGHT': [23, 21, 10, 3, 0]
}
)
# VALUE WEIGHT
# 0 1 23
# 1 2 21
# 2 3 10
# 3 4 3
# ... |
I am estimating a zero/one inflated beta regression model with gamlss (family BEINF). My dependent variable is [0,1] with a lot of 0s, quite some 1s, and some values in between. This means I assume that my model consists of three submodels:
Reference formula: Rigby & Stasinopoulos (2010), A Flexible regression approac... |
If $X \sim \mathcal{N}(0,4)$, then I know that $\left(\frac{X}{2}\right)^2$ is has a $\chi^2$ distribution. But $X^2$ itself $\chi^2$ distributed as well?
Also if $X_i \sim \mathcal{N}(0,4)$ where $i \in (1,2,3)$, what is the distribution of $X_1^2+X_2^2+X_3^2$?
|
I am performing a meta-analysis on the response of rodent abundance to clear-cut logging. I have data from multiple sites, across multiple years, and for different species of rodents, and am using these data to compare the abundance of rodents in clear-cuts to the abundance of rodents in un-logged nearby 'control' site... |
I have a project where I have access to entire populations' records. I'm not trying to generalize knowledge to a larger population; rather, I'm trying to compare the prevalence of an event happening in one whole population to the next (think comparing what percent of shoppers buy a certain product at Walmart versus Tar... |
A good example of deriving a likelihood function is the normal distribution:
The PDF of the normal distribution is:
$$
f(x;\mu, \sigma) = \frac{1}{\sigma\sqrt{2\pi}}\exp\left[\frac{(x - \mu)^2}{2\sigma^2}\right]
$$
For a series of observations, if we can consider them i.i.d. we see that for observation $(x_1, \ldots, x... |
I was working through the example here calculating least squares means by doBy. In order to make sure I understand what is going on, I would like to replicate the analysis manually. I can do it when the number of untreated and treated are the same, but failing to do it when they are not the same.
I am copying the ex... |
Given
\begin{equation}\label{eq:definition_of_z}
\begin{split}
\textbf{Z} = \left[\begin{array}{cccc}
{z}_{11} & {z}_{12} & \cdots & {z}_{1P} \\
{z}_{21} & {z}_{22} & \cdots & {z}_{2P} \\
{z}_{31} & {z}_{32} & \cdots & {z}_{3P} \\
\vdots & \vdots & \ddots & \vdots \\
{z}_{M1} & {z}_{M2} & \cdots & {z}_{MP} \\ \end{arra... |
Suppose I have a nonlinear model of the form:
\begin{align}EY|X = \frac{aX}{aX+b}\end{align} where $a, X, b > 0$. I reparameterize the model as
\begin{align}
EY|X =\frac{\beta X}{1 + \beta X}
\end{align}
where $\beta = \frac{a}{b}$. $\beta$ is identifiable, so I can estimate it with nonlinear regression or some para... |
What are the best possible bounds for the Poisson Binomial Distribution's tails? I need the bounds, because in my problem, I don't have the exact value of the probabilities $p_i$ related to the Bernoulli random variables and I don't need them. I just have the upper bounds of the $p_1,\dots,p_N$.
Also, is there a specif... |
I am working with two time series and I am interested in understanding the relationship between them. As a first step, I checked the cross correlation function (using ccf() in R).
The output of my code is shown below, where I'm running ccf(x,y). As I understand it, the conclusion here is that x at time t+k is negative... |
I am trying to choose how many components to retain in my PLSR. My total variance explained for the response variable is only about 30%, and the first 2 components explain 99% of this. Intuitively I know I should just run the model with the first 2 components, but is there a more rigorous method I can apply? Does the K... |
(Note - This is also on MSE but I thought I might have better luck here). I was posed the following question:
Let $X_1,X_2,\dots,X_n \stackrel{iid}{\sim} \mathcal{U}(\theta,\theta+1)$. Consider testing $H_0: \theta=0$ versus $H_1: \theta >0$ via the rule: Reject $H_0$ in favor of $H_1$ if $X_{(1)} >1$ or $X_{(n)} >(1-... |
In Boosting/Adaboost, why the base classifier must be weak classifier?
|
I have a very basic interaction model with this setup:
Y = $\beta_0$ + $\beta_1$ Var_1 + $\beta_2$ Var_2 + $\beta_3$ Var_1 * Var_2 + Controls + $\epsilon$
Y = Continuous variable
Var_1 = Continuous variable
Var_2 = Indicator variable (i.e., 1 or 0)
In this model, $\beta_3$ is significant--but joint test of $\beta_1$ ... |
I am beginner to neural network and machine learning. I am working neural network with 1 hidden layer. I took spiral data set and I am trying to overfit the data.
I applied neural network to it and I am getting a 98% accuracy. But, I am getting the of classification boundary in 2nd figure. I mean why am I getting read ... |
I am measuring a sample thickness using two different methods in potentially different locations. We are using the same equipment (G R&R came back OK), but we gather 360 data points using 1 technique, and 120 data points using the other technique. The datapoints are likely collected in different locations around the pa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.