instruction stringlengths 9 38.7k |
|---|
I am doing an assignment for 3rd year med. The methods in the paper claims 93% power but sample size is only 20 people. If a study is sufficiently powered, is there anything i should be concerned about when interpreting the results of the study?
|
I have a 10k lines dataframes on which I want to perform ANCOVA so I can get adjusted means.
Please note that I've never done this before so I jump from a tutorial to another, but I still want to make it the right way.
So my model is like Y ~ X * sex, with
Y the dependant variable (continuous)
X the continuous indepe... |
I have a question merging two variables into a single composite. The questions are about marijuana use.
One variable is frequency of use measured by the question: "On how many days during the last 30 days did you use marijuana?[0-30]"
Quantity is measured with the question: "On a typical marijuana use day in the past 3... |
I want to to calculate the area of the differences between the (red) null and (blue) empirical distributions of x, like in
, the arrow is the KS metric, but is there a name for the area between the curves? And how does it relate with Information Entropy (Shannon)?
If the distributions are not exactly identical, the ar... |
What is the range in which the dirichlet parameters (alphas) should lie? I saw the condition that alphas must be greater than 0. Then can I have alpha values between 0 and 1?
|
I am reading Bishop - Pattern Recognition and Machine Learning book. In Chapter 4 first page, there is a statement that
In this chapter, we consider linear models for classification, by which we mean that the decision surfaces are linear functions of the input vector x and hence are defined by (D − 1)-dimensional hype... |
I have been confused by the concept of parameter identification for a while now. I am asking this question mainly to test my understanding.
Here is the linear regression model:
$$y=X\beta + \epsilon$$
Let's say that $\beta$ refers to any value of the parameter vector, and that $\beta_0$ refers to the "correct" val... |
I am new to ML. I was informed that the L2-normalization of ridge regression does not punish the intercept $\theta_{0}$. As in the cost function:
$$
\nabla_{\theta}J(\theta)=\frac{1}{2}\sum_{i=1}^{m}(h_{\vec \theta}(x^{(i)})-y^{(i)})^2+\lambda\sum_{j=1}^{n}{\theta_{j}^{2}}
$$
The L2-normalization term $\lambda\sum_{j=1... |
What would be the correct (most statistically sound) way to tackle the following problem:
Given are two samples (or empirical distributions) from two unknown distributions $X$ and $Y$, with $N_x$ and $N_y$ sample points, respectively.
I would like to compute a sample (or empirical distribution) of the difference (accor... |
This is from Hugo Larochelles NN course .
What is the Dimension of the unary log factors ?
I think as Weights are input_sizen_classes and X is seq_leninput_size, When we multiply, we get seq_len * n_classes. Then we need for x_k , so it is 1*n_classes .
Is this the dimension ?
|
How to overcome outliers on time series data?
Is there any reference mentioning that to analyze seasonal time series data outliers shouldn't exist?
If I use SAS 9.3, the Bartlett statistics showed no seasonal period.
If I use JDEMetra+ (without considering any outlier), it showed that there is a seasonal trend but no p... |
I was looking into ways to compare two datasets, how different are they in shape, spread, mean, variance etc and I come across the f test. If I understood correctly it uses the null hypothesis to check if two populations that are normally distributed have the same variance. What I don't understand is how is this differ... |
Typically when one does cross-validation, one fits $K$ models of the same form over a grid of a hyperparameter. One selects the hyperparameter that minimizes the prediction error out-of-sample averaged over the $K$ folds. With that estimated optimal hyperparameter, one re-fits one's model to the whole dataset. That ... |
What is the distribution of $x/(x + y)$ for independent and normally distributed $x$, $y$ with mean $0$? I'm aware $x/y$ has a Cauchy distribution but I don't know if there is a way to make use of it.
(This may seem like a homework question, but it is not; it's a highly abstracted piece of what I am trying to solve in ... |
I'm trying to get a handle on the R regression / mixed effects modeling tools by simulating some data using parameters for both population and random effects which I'd like to recover estimates for with the model. Below is my simulated data:
n <- 15
r <- 10
s <- 0.5
z <- 2
x <- sort(runif(n, min = 0, max = 100))
y <- l... |
I have a dirichlet distribution with three dependent variables.What is the range in which the dirichlet parameters (alphas) should lie? I read in a reference only a condition near the pdf of dirichlet distribution that alphas must be greater than 0. Is it correct?
I hav... |
My lecture slides sometimes mention asymptotic full rank as an assumption:
$Q=p\lim_{n \rightarrow \infty} \frac{1}{n}X^TX$ has full rank.
It seems obvious (?) that this is implied by full rank; i.e. if $X$ has full rank, then $X^TX$ has full rank and hence $Q$ has full rank.
Then the only reason to use asymptotic ful... |
I want to test for differences of the known proportion of the population vs. the proportion of a sample. The sample is weighted by sampling weights. The sum of weights is equal to the size of the population.
Consider the following example (coded in R):
set.seed(12345)
theta <- 0.7 # True population value
N <- 100000 ... |
I have struggled with this statistical analysis.
My dataset is 5 replicates of plot, Mon to Fri of date, C or T of treat, and separated time (ex, Mon to Wed as beginning of week, Thu as end of week, and Fri as very end of week). There is dependant variable in v1 column.
What I want to test is whether treatment effe... |
Consider a coin $X\sim\operatorname{Bernoulli}(p)$. Its Fisher information is given by $J=\frac{1}{p(1-p)}$.
Now suppose we are in a Bayesian setting and our prior on $p$ is $\pi=\operatorname{Beta}(s,s)$ for some known $s$. This has mean value $\frac12$ and variance $\frac{1}{4+8s}$. For reference, Jeffrey's prior is... |
In the code below I'm trying to check for correlation between a categorical variable field2 and a continuous variable field1. Can someone please explain what the anova test is doing below? Like I understand that if the p value is below 0.05 I reject the null hypothesis that the two fields are linearly independent and... |
I have conducted an experiment where users view a set of 3D images and after observing each image, they answer a forced choice question with 8 options (they select a number from 1 to 8). They also indicate their level of confidence about the answer on a continuous scale of 0 to 9. So for each image the user has viewed,... |
I got a strange question when I was experimenting some convex optimizations. The question is:
Suppose I randomly (say standard normal distribution) generate a $N \times N$ symmetric matrix, (for example, I generate upper triangular matrix, and fill the bottom half to make sure it is symmetric), what is the chance it i... |
Is there a formulation of DTW that allows to deal with uncertainty or to utilize knowledge of the probabilistic structure of the signal? I would like to have a formulation similar to HMM but stay in DTW paradigm.
Why do I need that? I have several examples of a time series pattern that I want to find in the data. The a... |
According to the Rob Hyndman's book on forecasting, "section 5.3 - Selecting predictors", when selecting predictors in a regression model:
Adjusted $R^2$
Computer output for regression will always give the $R^2$
value, discussed in Section 5/1. However, it is not a good measure of the predictive ability of a mode... |
The implementations I have found till now of Bayesian optimization tipically find the optimal input point X for next step, which minimizes the output Y of the acquisition function which is being modeled, by testing a lot of samples (by random search, gridsearch, etc) and then selecting the best one. For example, this h... |
I understand that if $x_t$ is $\text{AR}(1)$, i.e.,
$$x_t = \phi x_{t-1}+w_t\tag{1}$$
with $x_t$ (second-order/wide-sense) stationary, $w_t \sim \mathcal{N}(0, \sigma^2_w)$ independent from $x_t$, as long as $\sup_t\text{Var}(x_t) < \infty$ and $|\phi| < 1$, we can write
$$x_t = \sum_{i=0}^{\infty}\phi^{i}w_{t-i}\text{... |
I am designing an experiment to test density effects of interacting species. The real example is quite complicated to explain, so I'll give a simplified example - I want to test whether the density of herbivores effects plant growth.
I am planning on using regression to test for any effect of density on growth. I h... |
This is about bayesian linear regression. In this link http://fourier.eng.hmc.edu/e161/lectures/gaussianprocess/node2.html there's a derivation for
=
The part that I don't understand is how it is that $p(y|x^*,w) = w^Tx^*$?
$x^*$ is a new data point and $y^*$ is its predicted value.
|
I was told that using gradient methods for Gaussian mixture models may end up with Dirac delta function(s). I hadn't thought of this problem before, but when I verify this, it does seem to be a problem.
For example, let us consider a mixture of 2 Gaussians, and data points $x_1, x_2, \cdots, x_m$ ($m\gg$ 2). The follow... |
Let's imagine we have a blackbox function f(X) -> y which we don't know. X is a vector of 10 continuous variables, which we want to optimize to reduce y output (a continuous reward with unknown min and max). Also, f(X) maps a different optimum y depending on some other continuous parameters Z, which are observable. Eac... |
I am confused on the definitions of steepest descent.
In some literature, such as this and this, steepest descent means using negative gradient direction and exact line search on that direction.
But in this note, It seems as well as we are following negative gradient, the method can be called steepest descent.
Whic... |
Suppose that there're two independent random variables X and Y, both of which are normal. X has parameters N(-1, 1) while Y has parameters N(1, 1).
And for the third random variable Z, its value is equal to either X or Y, with both probabilities as 50%. Is Z normally distributed? If it is what is its variances?
|
In machine learning for text classification, the first step after acquiring and cleaning the data is that of feature extraction. Since computers can't understand language like humans, the language needs to be converted to a vector representation.
I'm building machine classification models on medium size dataset ~ 10k r... |
I applied local polynomial quantile regression to calculate the
quantile curve at 0.025,0.25,0.5,0.75,0.975 percentiles. I tried to
find the appropriate bandwidth by Visual inspection by I found this
way very difficult to find the best bandwidth. How I should know that
which bandwidth I should use. Also, I sea... |
I have a question about one of the papers I'm reviewing. The authors used a piecewise growth curve model to estimate trajectories of key variables before and after the middle to high school transition. Their sample is about 2,000 kids pulled from 11 middle schools in one city that were surveyed in both the fall and spr... |
I have 16 patients and 16 matched controls. In all patients I am measuring a dependent variable D and covariate C1 at a single time point.
Patients and controls are labeled using a variable Label (either "P" or "C" for patient and control, respectively) and they are associated with their match with the variable called ... |
I am comparing the performance of 2 investment portfolios.
To simplify the numbers:
After day 1, portfolio A is up 1.5% and portfolio B is up 1.7%.
After day 2, A is up a total of 2% over the 2-day period, and B is up 2.4%.
After day 3, A is up a total of 2.2% over the 3-day period, and portfolio B is up 2.7%.
And so ... |
I have been wracking my brain on this one, it was given to me by a friend and I am wondering how to solve it. The joint density is:
$$f(x,y)=c x^{2-x}y^{x-1}~\text{on}~ 0<x<y<1$$
I am trying to find Var[X], but I am even having trouble finding $c$. I have tried modifying the question to perhaps be changeable into a Ga... |
As a motivating example, consider this hypothesis: A friend and I were discussing how it might be the case that, the more one person is given control in the process of making a movie, the higher the variance of the quality of that film. The more hands that go into making a film, the safer of a bet it is—but the less li... |
We have the following Random variable:
$Y=\frac{\log Z}{\log Z+\log (1-W)}$ where both $W$ and $Z$ are $U(0,1)$. The question asks to calculate the variance of the random variable $Y$.
I think the random variable $Y$ will follow the exponential distribution with parameter $2$. How I obtained this result is as follows:... |
Let's say I have the following dataset:
A|B|C
-|-|-
1|0|0
0|1|0
1|1|0
0|1|1
.|.|.
.|.|.
.|.|.
I want to use the above dataset as input to an autoencoder. I did do some research and found that the best loss function to use given such a dataset is the sigmoid cross entropy loss function. I used the implementation in ten... |
I have a quick question about
the following is a discussion on the online Penn State Regression methods course:
Recall that, in fitting a regression model to data, we attempt to
estimate the average—or expected value—of the observed responses
$E(y_i)$ at any given predictor value x. That is, $E(y_i)$ is the
popu... |
I have four questions:
If i have to run a test on 4 colors; red, blue, green, yellow. I
ran the same test 4 times (one time on each color). (H1~H4) If i
already have a predefined or existing reason to do each of these
tests (not exploratory), do i have to correct for multiple
comparison (no. of H/4)? What If it was e... |
Let
$$K=\begin{pmatrix}
K_{11} & K_{12}\\
K_{21} & K_{22}
\end{pmatrix}$$
be a symmetric positive semidefinite real matrix (PSD) with $K_{12}=K_{21}^T$. Then, for $|r| \le 1$,
$$K^*=\begin{pmatrix}
K_{11} & rK_{12}\\
rK_{21} & K_{22}
\end{pmatrix}$$
is also a PSD matrix. Matrices $K$ and $K^*$ are $2 \times 2$ and... |
I have store level data which can range from 3 months to 1 year. This data is basically store weekly level data. For a given store I want to cluster stores as similar stores based on any input variable like sales, count of customers etc.
The criterion for saying that a store is similar to another store is that "the mag... |
Let say we have 3 simple matrix as follows:
X = pd.DataFrame(data=[1,0,1,1,0,0,0,0,0,0], columns=['X'])
y = pd.DataFrame(data=[0,0,0,0,0,0,0,0,0,1], columns=['y'])
w=[0.000024,0.134312,0.000024,0.000024,0.134312,0.134312,0.134312,0.134312,0.134312,0.015673]
and we want to calculate the diagonal of hat matrix on X. Fro... |
I don't know if this is the right forum to ask this, but I'm currently reviewing a paper that uses arithmetic on fuzzy numbers to propagate uncertainty.
As I understand the authors, they claim that fuzzy numbers are a more natural way for domain experts to express uncertainty: for example, an expert can say that the ba... |
A mixture of finite mixture models seem to be an interesting Bayesian (?) approach to solving clustering with an unknown $k$ number of components. It seems though, unlike the mixture model with a Dirichlet process prior, using a symmetric Dirichlet prior means $k$ doesn't necessarily grow with the size of the dataset $... |
Consider the following lme4 model: Y ~ X*Condition + (1+X|Trial).
Here Trial is nested in a binary Condition. This model calculates the variance of random intercept, variance of random slopes and the correlation of random intercepts and random slopes. I would like to calculate all these values but separately for Condit... |
does the time periods in my difference in differences analysis need to be the same for both periods?
Say I have an event at a specific date (new policy), does t=1 need to have the same length (e.g. 6 months before specific date) as t=2 (e.g. 6 months after specific date)? Or does this not matter? Would it make more sen... |
I cannot find a proof that $K(x,y)=f(x)f(y)$ is a Kernel for any real valued function $f$ and $x,y\in \mathbb{R}^n$. Obviously it is symmetric but can someone prove that it is positive semidefinite?
My only idea is plugging the function into the defintion of semi-definiteness:
$$\sum_{i=1}^n\sum_{j=1}^nK(x_i, x_j)c_ic_... |
I have the manual of a psychological test. The raw score (ranging from 0 to 3) has to be converted in the percentile, using the normative data in the table below.
Is there a way to compute the exact percentile of the raw scores, using the table? For example, if I have a row score, on the first dimension, of 1.30, how ... |
For classical dimension reduction methods (PMF, PCA, SVD, t-SNE...) or some others, I need to know the complexity of efficient implementations:
with $N$ vectors
in dimension $d$
reduced to dimension $k$
How do you express the complexity of each (or some) of these methods?
As a special case, the complexity of an impl... |
I am new to ML. I am currently reading the classic book Machine Learning in Action by Peter Harrington. In its implementation of ridge regression in P165 Listing 8.3, the book standardizes feature matrix $X$ by subtracting means of attributes and then dividing it by variances of attributes not by standard deviations of... |
I am performing a logistic regression analysis with all my data dichotomized (0/1). My problem is that I have a lot of missing data and the analysis eliminates participants listwise (i.e., eliminates a participant even if they have only 1 missing at any variable).
I do not want to impute the missing data but I am wond... |
I want to compare two lists with different lengths. There should be a percentage for their similarity as result. An example:
List 1:
main ID: 233423
ID: no.
1324: 312
22433: 259
244: 5236
List 2:
main ID: 2831
ID: no.
1324: 8687
231: 9283
244: 4872
In context, this means: th... |
I’m trying to find the best method to fill gaps in precipitation dataset – which aren’t normally distributed – comparing several methods, from basic methods (simple averages) to complex ones (ANN). I’m using over 300 stations in a simple process: create artificial missing records, impute data and compute performance me... |
I am performing a meta-analysis where some data sets I would like to include are reported as not being normally distributed. My understanding is that non-normally distributed data should not be processed in continuous approaches to data analysis. As such, should studies that are non-normally distributed be excluded fro... |
I've tried out my code just to make sure it works on a dataset of 100 input and output sentences. Turns out that no matter what I insert, the trained model only responds with either 1 of 2 phrases.
I convert the sentences into one-hot vectors, and my matrix is very sparce, in other words, I have some very long sentenc... |
I want to be able to minimize a difference between two distributions $P(x|\theta)$ and $Q$. I can choose Q (e.g. to be a Gaussian normal), but $P(x|\theta)$ is an unknown distribution, so I am currently using a histogram. (It appears to be multimodal for one thing.)
That is, I have some parameterized function produci... |
This is probably a basic question, but here goes:
I have a data set with a group of at-risk patients (for illustrative purposes lets say for heart disease) who were enrolled in a databases, some were treated with a drug (lets say an anti-platelet drug) and they are followed to see if they die. I want to use Cox propor... |
I have a dependent variable which is a ratio and 0 < y < 1 condition holds. I will apply betareg in Stata but I am not sure what are the diagnostics that are required or can be omitted due to the distribution of Beta distribution of the estimation method chosen.
|
I have a random variable, $X$ which follows exponential distribution with parameter $\lambda$. Then, define $Y=k$ for some $a$ greater than zero such that:
$ka \leq X \leq (k+1)a$.
Now, my question is how can $Y$ follow geometric distribution. I am not able to understand why but book give me the answer that t... |
When I took my courses in process control, they talked about "over-calibration", which is repeatedly tuning a process to attempt to reduce natural cause variation, as something that increased overall variation. I'm trying to show a non-stats guy that it is a bad idea without getting too complicated.
Are there good ex... |
Using the meta-prop function of R, I estimated two meta-analyzed proportions (A and B). Each of these proportions comes with an estimate and 95% confidence interval.
I would like to test whether these proportions are equal (CHI-square), however this method requires that I specify the number of events and total number. ... |
I'm reviewing a paper and have a question about a stats choice the authors made about how to deal with the nested structure of their data.
The analysis is a piecewise growth model exploring trajectories before and after the transition to high school. The dataset is based on about 2000 students drawn from 11 middle sch... |
I have a dataset with 3 columns - user_id (mostly unique), timestamp of first opening of the app by the user(unique and inside a range of few hours - I believe this is the time of launch of the app) and the device model with brand name (like HTC Desire X). I have been cracking my head to find any clustering or correlat... |
Will it be correct to use Mean absolute scaled error in non time series data? I've got a set which contains a lot of zeros, so errors like MAPE can not be used here. MASE based on difference between yt and yt-1 (formula like here), but I don't have time series, just observations of some activity of 200 people (independ... |
Problem
I have a time series data set with about 50 observations. I'd like to compute an interval that may contain the next/future value in the time series (the 51st data point). I tried using a 90% t-confidence interval (data isn't that normal) for this, so I calculated the mean, standard deviation, etc. However, the ... |
I have been working with GAMs (R package 'mgcv') and SCAMs (R package 'scam'), applied to some simulated data I have generated (rarefaction curves for ecological analysis).
What I am finding is that GAM bases (thin-plate, cubic, P-spline) as well as SCAM bases (monotonically-increasing, concave, monotonically-increasi... |
Suppose I have a function $N(x)$ defined on an interval $[x_1,x_2]$, which the derivative $\frac{dN}{dx}$ describes the rate of events, i.e. the number of events per unit $x$. Suppose that $\frac{dN}{dx} = Cx^{\gamma}$ where $C$ is a constant, $\gamma\neq-1$. Then if we define $y = x^{\gamma+1}$, then $\frac{dN}{dy} = ... |
I have this equation:
$$\nabla f^T x+ \nabla f^T \Sigma^{-1} (\Sigma \circ Q)x = -\frac{1}{2}\nabla f^T \Sigma^{-1} \nabla \tag{1}f$$
where $\nabla f,x$ are vectors, and
$$\nabla f_i =a_i - E[\nabla r_i]$$
($a_i$ being a scalar)
And $\Sigma$ is the covariance matrix corresponding to the vector $\nabla r$, the "$\circ$"... |
Say we have a vector of $k$ random variables $$m\sim N(0,\Sigma)$$
Then it is the case that $m^T\Sigma^{-1}m$ has a $\chi^2_k$-distribution, because it is the sum of $k$ independent standard normal variables.
Now, if $\Sigma$ is a diagonal matrix, so that the $m_i$ are independent, then I understand why this is the ca... |
What is the difference between both functions? I have been reading, but I cannot see the difference. I suppose that the sample autocovariance function is the estimation of the autocovariance function. When I plot it in R using functions from the library itsmr, I don´t which is which.
Maybe one autocovariance function i... |
Greene (econometric analysis p. 235 7th ed) discusses the Hausman test (test for whether the OLS is consistent). Greene states:
Probably, Greene believes that Hausman's technical statement of this result is too difficult for his readers. I nevertheless would like an intuition of why the covariance term would be zero... |
Does a bayesian model passing a posterior predictive check imply any frequency properties outside the tested data?
|
I am working on a two-class prediction task. A rather informative field in the dataset is user_id that has ~4m unique values which all occur in test set but it is a proper superset of user_ids available inside the training set (~2.5m). Now for my poly-2 regression based model it doesn’t make sense to have categorical f... |
In a publication-quality figure, I'm making a legend for points with values 1,2,3,4 and greater than or equal to 5. Should I denote the last value as
$\ge5$
or
$5 \le$
Are there any guidelines about this?
|
I'm looking to calculate a repeated measures t-test for a study that only reported the mean difference and the 95% confidence intervals. I also know the number of participants in each condition.
The info is as follows:
Mean difference = 27%
95% CI = [9%, 38%]
N = 15
Any help would be greatly appreciated!
|
I am trying to figure out how to describe a betting game that involves multiple steps where at each step the probability of winning decreases but the payout increases. The player must start at step 1, and only wins a prize at step 4, 5, 6, or 7. Each step costs a set amount of money to play. The player cannot go backwa... |
The distribution of values of the retirement package offered by a company to new employees is modeled by the probability density function:
$$
f(x) = \begin{cases}
\frac 1 5 e^{-\frac 1 5 (x-5)}, &x>5 \\
0, &{\rm otherwise.}
\end{cases}
$$
Calculate the variance of the retirement pack... |
I have read and understood the use of mixed-effect models for repeated measures. I would like help correctly specifying the type of model for my experiment. I recruited 3 types of subjects to listen to stimuli that have 4 variations over 8 different tests and score an opinion. The stimuli are the same for each test.
I ... |
a=rnorm(10)
b=rnorm(10)
x = cov(a,b)
y = mean((a-tail(am,1))*(b-tail(bm,1)))
z = mean(a*b)-mean(a)*mean(b)
According to https://en.wikipedia.org/wiki/Covariance covariance is defined as y or z but they do not match R covariance (x), why is that?
|
suppose I have the variable X, and I simply want to know how much of the variance of X is explained by the other variables Y, Z and W. How can I do this in Stata? I have in mind a simple linear model, no random effects
|
So correct me if i'm wrong.
The usual link function for poisson regression is log, so that you're performing regression on log(y)~x1+x2+x3+x4+...
The variable y is typically a count, meaning it is restricted to integers from 0 to positive infinity. The input variables x1...xn are not restricted to the positive intege... |
I'm a looking for a counterpart to the Mann–Whitney U statistic for the case where the two samples ($\hat{F}$ and $\hat{G}$) are drawn from discrete ordered distributions (the data can only take one of three values, $\{a, b, c\}:a<b<c$).
I want to know if $\hat{F}$ is significantly to the left of $\hat{G}$.
I consider... |
As I read many cases of "standardization",there are some opinions conflict with them, e.g.
some cases will add lag features and some of these features are
created by other original features and it might lead to strong
correlation between them.however logistics regression models are
strongly advised use features with l... |
Hi if I have a data matrix say a gene array with 30K probes and 8 samples and I want to do some sort of clustering analysis, is it appropriate to first filter the genes with low variation? For example can I first subset the data with only genes with high standard deviation, say .15? Would this be a better approach an... |
first time here , hoping for a great answer!
so my thesis is including using a sensor to measure how far is a a person leg is from the sensor.
so i measured it with a ruler and compared with sensor reading.
took 5 arbitrary lengths, made 3 reading of each, for 5 different days.
i also got a co-worker that did the same... |
An ARIMA model is specified by 3 parameters $(p,q,d)$ or 6 (+1 for the seasonality) if we consider a seasonal ARIMA model $(p,q,d)(P,Q,D)_s$.
The AIC used to select ARIMA models is calculated by:
$AIC = N log(\frac{SSE}{N}) + 2(k+2)$
With N the number of data points, SSE the sum of the squared errors, and K the numb... |
I was going through a tutorial that highlights the importance of using sparse models to get "lightning fast models" i.e. to accelerate the training process.
What are the issues in using a sparse model? How will it affect the performance of the resultant model as against a non-sparse model.
Are there any limitations to... |
At the output of the final layer of yolo, a leaky-relu is applied to the output, so if we have negative values for the width and height, the cost function will return a null value since we would have square rooted a negative value at the second sum of the cost. Thus not able to update the weights using back prop.
Am ... |
I am using DLM package in R for estimating state space model While creating DLM object in R I am getting the following error
"Error in all.equal(x\$W, t(x\$W)) && all (eigen(x\$W)$values >= 0) :
invalid 'x' type in 'x && y'"
Which suggests that We need to have symmetric W matrix for valid DLM.. In my model it is rec... |
I am working on training a deep neural network (with pre-training) on millions of data recently. However, I found out that the loss shows a form of periodic phenomenon (about 60000 steps for 1 epoch), as shown below:
Also, its performance of external evaluation on the validation set was fluctuating, as shown below (hi... |
I am running a large number of two-sample Wilcox tests and using Benjamini, Hochberg, and Yekutieli method to adjust the p-values.
The issue is that when I conduct a one-tailed test, the p-values before the adjustment satisfy p-value(>) + p-value(<) = 1, which makes sense. After the adjustment, however, this relation... |
In statistic, when we want to find the estimation of the model parameters, do we only work with the density function?
Why do we need to work with density function instead of Cumulative distribution function?
Also, sometimes we need to work with cumulative distribution function. For example, if we need to transform the... |
We have the following model:
Y ~ X*Condition + (X*Condition|subject)
Y = dichotomous variable; values 0,1
X = continous variable; values ca. 0-3000
Condition = dichotomous variable; values A,B
subject = grouping variable, 219 subjects
The experiment we conducted is a two-choice task where people have to choose... |
I am struggling to understand the following result from Casella and Berger about sufficiency and completeness for exponential families:
Let $X_{1},X_{2},...,X_{n}$ be iid observations from an exponential
family with PDF or PMF of the form$$f(x|\theta)=h(x)c(\theta)exp\left
( \sum_{j=1}^{k} w(\theta_j)t_j(x) \right ... |
I have generated data to understand a (repeated measures) 2x2 Anova better, however the results leave me baffled. The data is really simple: I am assuming I have 30 subjects, I am assuming that there are two medical tests, one in body region A, and one in body region B.
I have created now the data as follows:
Test1, r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.