instruction stringlengths 9 38.7k |
|---|
What is people's method of early stopping? I run my validation data against the trained network and if the error is > the previous low error then I increment a counter. If the error < the the previous low error then I record the new low and reset the counter. When the counter hits 3 I stop training.
I also continue tra... |
I have two different types of time series. The first group of series is much more bimodal, and the second group is much flatter. For a given time series, I want to test whether it more likely belongs with the first group or the second group. I don't really care about the specific values of the time series. It is the s... |
I help a friend of mine to understand material in an econometrics course. This is also a good exercise for me since soon I will start as a TA. The challenge is that she does not have sufficient knowledge in statistics and also not strong in mathematics. For example, starting explaining hypothesis testing and confidence... |
I was confused by how LDA (by the original variational inference) can be implemented in a way such that the number of operations for each document $j$ is $\mathcal{O}(N_j~K)$, where $N_j$ is the unique number of words in $j$ and $K$ is the number of topics. In the original paper by Blei, their inference is done by scan... |
What are the restrictions on $H_0$ and $H_1$ in a hypothesis test?
Specifically, if you were doing a hypothesis test on the mean of a normal distribution, $\mu$, could you have something along the lines of:
$H_0: \mu=a$ vs. $H_1: \mu=b$ where $a,b \in \mathbb{R}$, or does it have to be more like $H_0: \mu=a$ vs. $H_1: ... |
I am testing whether a certain learning intervention affects student achievement. I have two groups of students (control and experimental) with 16 students each. I have their pre-test and post-test scores. I intend to compare the two groups' pre-test scores using independent t-test; the two groups' post-test scores usi... |
Dependent data can be modeled using covariance structures like compound symmetry, spherical, AR-1, and other. Using generalized least squares, inference can be made on the regression coefficients using model based standard errors. While the covariance structure accommodates some forms of heteroscedasticity, if we still... |
I am fitting a random effects model to some ecological count data (abundance). The aim is to analyse the effect of influence of chemical pest control on insect population. I run the analysis on cumulative abundance data as treatment could not be applied on the same day in all blocks, but it was applied block-wise. I us... |
I'm trying to implement LDA in either R or Python on a production system. I'd prefer Python because more of the team is comfortable with it, but either are an option.
In short, R's text2vec package implements WarpLDA (from this 2016 paper) and performs more stable clustering and much faster than either popular Python o... |
The multivariate t distribution seems to be defined as a "ratio" of a vector of normal random variables and a single gamma (or chi-squared) random variable (independent from the vector of normal).
Thus, even if the normal rvs are independent (i.e. generated from a multivariate normal with a diagonal covariance matrix... |
I have two variables which are highly correlated (0.99). But I want to evaluate their individual effect on the target variables (2 in this case). I don't want to create a latent variable using these two variables because logically they don't belong in the same group.
If I use a regression-like model (Y1 ~ X1 + X2, Y2 ~... |
I've received survey data from a sample of 1000 responses from a choice-based conjoint analysis where a respondent were presented with two cards and had to choose their preferred option. In the survey there were 3 attributes with 4 levels each and the sample was split in to 5 blocks with 10 choice sets presented to eac... |
If a graph object is a not directed graph, then the following set of operations should yield the same result:
require(igraph)
df <- read.csv("Dataset1-Media-Example-EDGES.csv")
g3 <- graph.data.frame(df[,1:2], directed = F)
g4 <- graph.data.frame(df[,2:1], directed = F)
set.seed(10)
g3_ <- cluster_walktrap(g3)
set.s... |
I'm modeling a quaternary response using multinomial logit. N is about 3000, however, there are only 500 occurrences of the rarest event.
My usual go-to sources (Agresti 2013: 207; Hosmer et al 2013: 407-408) suggest as a rough guideline that the number of parameters in the model should not exceed 0.1 * the frequency ... |
The following is a question pertaining to a large scale ridge regression. I am stumped by this question, any one have an idea? Thanks
Suppose the data for the ridge regression problem becomes available sequentially, i.e. the kth data point xk arrives at time tk. At time tk we want to be able to compute the optimal ridg... |
Say I have 100k observations (each observation is a vector of size N), and I have strong prior that there are say 5 distinct groups all with very tight clusters (about 50k observations in total, say 10k per group) and the rest of the data (50k observations) is just noise.
Is there a variant of k-means that would get t... |
Let $X_1, X_2,...,X_n$ be iid random variables having pdf
$$f(x|\theta) = \frac{1}{x \sqrt{2\pi\theta}}e^{(-[\log x]^2/[2\theta])} I_{(0,\inf)}(x)$$ where $\theta > 0$.
Determine the MLE of $\theta$.
Since this is an exponential family distribution, this pdf gets factored into:
$h(x) = \frac{1}{x} I_{(0,inf)}$, $c(\the... |
My goal is to find the effects of properties’ steep slopes on their sales values (after adjusting for inflation). In order to account for the fixed effects of lot sizes and variations among property's cross dates, I fit the following mode in R using the nlme package:
fit <- lme(log(sales_value) ~ lotsize_group + Stee... |
I've seen the pattern ABA', where A and B are matrices, and ' stands for the transpose, many times so I want to know if there is an intuition for this pattern.
I did some development to see what the resulting matrix would look like and I got this:
Let A be a matrix of dimensions (l,m),
B be a matrix of dimensions (... |
I am trying to fit the popular Pareto/NBD or Beta/Geometric models for non-contractual, continuous customer data. On top of that I then fit the Gamma/Gamma model for monetary value (using the very helpful lifetimes package). There are a few questions on CV related to this topic, but none that I can find that answer any... |
I want to find the correlation between a computed overall value and a set of values that add up to this overall value. Is this possible or am I simply doing something that doesn't make sense?
In my example the overall value tells how satisfied a user is with a product from a survey. This overall value is calculated by ... |
I am looking for a simple approximation to the median of the (simply) non-central F distribution with parameters dlnum, dldenominator, and ncp, the non-centrality parameter. Clearly, there is no closed-form expression; an approximation if fine. Thanks.
|
Scenario
Consider you ask kids whether or not they like guns (yes/no answer). You also ask them whether they watched an action movie in the past two days.
Then, you are willing to see if there is any correlation between the two, perform a contingency analysis (eventually a Chi square test) and find a significant correl... |
I was preparing for CFA and encountered this question, which is quite puzzling.
To use autoregressive model, it has to be covariance stationary (same mean, covariance). If a model's residual is not auto-correlated, then the model is well-specified(covariance stationary). However, random walk model's error term is uncor... |
Say I have these performance measures on an individual:
10
5
15
9
8
7
I want to know if there is a sig. change from one data point to the next. So I want to know if the increase from 5 to 15 is sig. or I want to know if the drop from 10 to 5 is sig. What is the best way to do this?
Lets say I was training someone to th... |
I am currently trying to find the maximum likelihood estimate (or determine that it doesn't exist) of the parameter $a$ for a random sample of the variables $X_1, X_2 ...X_n$ with pdf $$f(x;a)=
\begin{cases}
ax^{-2}&\text{if}\, 0 < a \leq x < \infty \\
0&\text{otherwise}
\end{cases}$$
I've determined that the likelih... |
I am trying to calculate the estimated marginal means (aka least squared means) in R in order to do statistical analysis for a univariate dataset and am struggling as all the examples are from multivariate datasets.
My design is count data (wallaby scats from fixed quadrats) with repeated measures (samples taken once a... |
Let me say at the outset that I am very new to machine learning, and not great at math. I understand what TF-IDF does, but in the book I am reading it also notes the following (it's discussing how scikit-learn does things):
Both classes [TfidfTransformer and TfidfVectorizer] also apply L2 normalization after computing... |
I have a Bayesian Hierarchical model using JAGS. In order to find the best model, I have compared the DIC of two models but It's not reliable. So, I decided to calculate WAIC from JAGS. However I have a big ambiguity and i would appreciate if you help me with this issue.
Based on theory, DIC is calculated using Devia... |
$(X_i,Y_i)$, $i = 1,2, ... ,n$, is a random sample from a bivariate normal distribution, with means $\mu_x$ and $\mu_y$, variances $\sigma_x$ and $\sigma_y$, and correlation $\rho$. How do I formally show the mean and variance of a vector $W = (X', Y')'$ where $X$ and $Y$ are vectors as given above?
If I were given $W... |
The Lagrangian of a hard-margin SVM is:
$$
L(w, b, \alpha)=\frac{1}{2}||w||^2 - \sum_{i}\alpha_i[y_i(\langle w, x_i\rangle)+b)-1]
$$
It can be shown that:
$$
w=\sum_{i}\alpha_iy_ix_i
$$
$$
\sum_i \alpha_iy_i=0
$$
We derive the dual by substituting the second group of equations into the first. Most textbooks (sensibly) ... |
I have a sample of 100 measurements from a control population. These measurements are not that close to a normal distribution.
I also have made a single measurement that received a treatment.
Is there a statistical test I can use to establish the probability that the treatment had an effect?
|
I am trying to construct GLMs to explore the relationship between woodpecker abundance and 9 predictor variables (tree density, canopy cover, and so on). My data were collected as counts of woodpeckers, but I averaged the counts from multiple visits to each site (each site had between 1-6 visits made). So my data are n... |
The German Tank Problem assumes that we observe k i.i.d. random variables $X_1,...,X_k$ uniformly distributed over $[0,N]$, where $N$ is unknown.
The goal in this problem is to estimate $N$ given the observed data. If $m = \max(X_1,...,X_k)$, then we can infer the probability mass function
$$\Pr(N=n \mid m,k) = \begin... |
Machine learning classifiers often use the cross-entropy $\mathbb{H}[p,q]$, where $p$ is the true distribution (often a delta) and $q$ is the predicted distribution over classes (or can at least be interpreted that way).
Minimizing this is the same as minimizing the KL-divergence between the truth and the prediction, s... |
Essentially comparing:
glm1 = glmer(Mortality ~ CCI + PatientRace + PatientSex + age_cat + (CCI | FacilityIdentifier),
data = tmp, family = binomial,
control = glmerControl(optimizer = "bobyqa"), nAGQ = 1)
to
m1 = glm(Mortality ~ CCI + PatientRace + PatientSex + age_cat,
family=b... |
I am doing path analysis with six variables.
The model suggests that four variable affect only x and x affects y.
Based on the modification indices I added a covariance between the error terms of x and y. However, I get a high .58 and negative value for this covariance. What is that mean?
thanks
|
For example, say you have a black box that has a number of n-sided dice in it. You have 4-sided dice, 6-sided, 8, 10, 12, 20 and so on. The die sides are all A except for one side that says B, e.g.
You select one of these dice in the black box. You aren't sure which one. You start rolling it and the output you see fro... |
When training a neural network, do I get the same results in both the following cases?
Training on half the training data for 1 epoch, then on the other half for another epoch.
Training on the entire training data for 1 epoch.
I am training a model on variable-length sequential data. The model is already well-tuned. ... |
Trying to self teach a bit about autocorrelation. For a simple sine wave, I am surprised that the acf() function in R outputs a curve that converges to 0. From my understanding, the autocorrelation function would rebound to 1 for each period of the wave, as in my attempt to manually calculate acf. Picture and code a... |
I am wondering why is it not possible to extract estimated AIC (and BIC) via 'lmrob()' and 'lmRob()' robust linear regression models (from the 'robustbase' and 'robust' packages, respectively). In this way I can't perform an AIC based model selection.
Example:
rob_model<-lmrob(CWM ~ SWB, data = dat, setting="KS2014")... |
Reports and webpages like the following prompted this question: "Women Now at the Head of the Class, Lead Men in College Attainment" by Kurt Bauman and Camille Ryan, October 7, 2015, United States Census Blog Random Samplings. (This is not homework.)
Within the context of annualized 2017 data from the U.S. Bureau of... |
For long time I did not understand why the "sum" of two random variables is their convolution, whereas a mixture density function sum of $f(x)$ and $g(x)$ is $p\,f(x)+(1-p)g(x)$; the arithmetic sum and not their convolution. The exact phrase "the sum of two random variables" appears in google 146,000 times, and is elli... |
I have two discrete variables with three values each, A,B, and C for one, and D,E, and F, for the other (for around 500 objects).
I am only interested to reject independence in three cells of the nine cells in the table,(A,D),(A,E), (B,D).
So I have three null hypothesis:
H_AD : Pr(AD) <= Pr(A) P(D)
H_AE : Pr(AE) <= ... |
In 2015, Tishby and Zaslavsky published a well-known paper claiming that the so-called Information Bottleneck Principle could be used to understand some behaviour of deep neural networks. In a more recent (April 2017) paper, Schwartz-Ziv and Tishby expand on these claims, in particular visualising some of the results.
... |
does anyone know how exactly the Deviances (Poisson, Gamma, Tweedie) are computed in H2O? I cannot find the functions. For interpretation purposes I would like to know the calculations.
Thank you!
|
I want to cross-validate survival curves, and i am not sure I am doing it correctly. The problem is as follows:
I have around 50 patients and their survival times and their (say clinical) measurements. The goal is to use the measurements to find a model that can predict whether a new patient will have low or high risk ... |
Context: I have a couple of series of data, stock index data. I translate those distributions into two input stream for a videogame, and let the input compete. One of the two is definitively more efficient than the other (more than 50% more), and I wanted to prove or disprove that the most efficient series is due to it... |
I have a vector-space-model. I want to cluster the embeddings (based on similarity) in this model, but I have following dilemma / confusion: Should I
first cluster in the higher dimensional space and then do dimensionality reduction to get a 2D plot I can display?
or
first do the dimensionality reduction to a 2D sp... |
I have a question with regard to choice design for discrete choice experiments.
Quite some time ago I conducted a choice experiment and now I am trying to publish a paper on that study. I got some helpful criticism and questions back from reviewers.
One question is difficult for me to answer because I am not much into ... |
I am currently trying to solve a regression problem using neural networks. I want to detect movement patterns in images over time (video) and output a continuous value for different medical indices.
After training a network I used the training data to predict outputs to make sure the network learned the patterns correc... |
The "normal" standard error of the mean (SEM) is the population standard deviation divided by the square root of the sample size. Wikipedia states that the SEM is an estimate of how far the sample mean is likely to be from the population mean.
In practice you don't know about the population standard deviation and use t... |
Here are 2 questions. Your expertise on those issues would be highly appreciated.
In the GAM approach, it makes sense to start with a highly flexible approach and then apply penalties to achieve the smoothness required for a plausible shape. While fitting GAMs, I always use P-spline (=penalized B-splines). However, S. ... |
Define $Y_1$ and $Y_2$ to be two positive and independent random variables, for which the pdf (probability density function) is the same and is given as:
$f(y) = \beta \exp\left(- \beta y\right),\beta>0$.
Suppose that time is slotted, and $t$ ($=0,1,2,...$) is the time index. $Y_1$ is associated with time $t$ and $Y_2$... |
I am looking for suggestions on how I might construct features that would encapsulate the timings/order of events (ultimately, to be used to predict a future event)
Background
I have timestamped interactions between customers and a business:
Customer Date Code Interaction
-----------------------------------------... |
When wanting to identify the optimum number of clusters in my hierarchical agglomerative clustering attempt (UPGMA and complete linkage), I obtain ever increasing average silhouette widths (Rousseeuw quality index) and Mantel correlation coefficients with increasing number of clusters. Hoping to obtain a limited amount... |
I have some trouble understanding these predictive modelling results.
I want to compare different ways of doing latent discriminant analysis for varying sample sizes
the example below uses two simulated datasets with 40 observations (full, reproducible simulation code is here)
the code below uses the two datasets: one... |
I don't have a working example for this, as I'm using a large dataset in R with the ranger package (Random Forest algorithm)
I fit a model using the ranger package with predictors $X_1,...,X_k$ and a response variable $Y$ with the purpose of looking at the variable importance of each predictor. After fitting the model,... |
I am looking for the name of a statistical quantity similar to generalized variance in a 2 dimensional space. Specifically, I define generalized variance as
$\epsilon_{a,b}^2 = \left|\begin{matrix}\sigma_a^2 & \sigma_{a,b}\\\sigma_{a,b} & \sigma_b^2\end{matrix}\right|$ where $|\cdot|$ is short for determinant. What I... |
For a simulation study I am trying to generate samples from 4 correlated random variables following a multivariate uniform distribution, where all marginals are uniform variables and the population correlation coefficients are given by the following correlation matrix:
[,1] [,2] [,3] [,4]
[1,] 1.00 0.55 0.65 0.75 ... |
Children born in the summer perform weaker in school tests than autumn born children (mostly due to them being younger in their school year/grade). I have the test data for a class of 30 children and I have found the mean grade in science, reading, writing, and maths for the autumn and the summer born children in the c... |
I am trying to find the MLE of $\theta$ for $X_1, X_2,...,X_n$ with the following pdf:
$$f(x|\theta) = \frac{\log(\theta)}{\theta - 1} \theta^{x}$$
I determined the joint density and got:
$$\prod_{i=1}^n\frac{\log(\theta)}{\theta - 1} \theta^{x_i} = \frac{(\log(\theta))^n}{(\theta - 1)^n}\theta^{\sum_{i=1}^n x_i}$$
Whe... |
Skill A and Skill B are both directly related to Skill C. Skill C is directly related to Skill D. Skill A and B do not have significant direct relationships with Skill D.
Skill A and B can be considered components of Skill C--for example, A and B might be vocabulary and grammar knowledge, while C is listening compreh... |
What statistical tests should be done if I want to check how a teaching intervention affects student achievement? I have a control group and an experimental group, each group is composed of 16 students who were divided into two groups based on their computed average grade in their Mathematics class - there are equal nu... |
I'm a statistics student. I am trying to understand the classical and objective definitions of probability and how they are related to frequentist and Bayesian inference. It's not obvious to me why classical probability is paired with frequentist inference and why Bayesian inference is paired with subjective probabilit... |
I have the non-linear logistic regression model
$$
\text{logit}\Pr(Y=1|X_1,X_2,)=X_1X_2\frac{1}{m(2+\theta)TD_{50}}+X_1\frac{\theta }{m(2+\theta) TD_{50}}-\frac{1}{m}
$$
which I will like to estimate $m$, $\theta$ and $TD_{50}$ in R say. Note that in a prediction setting this is just a glm. But because I will want est... |
I am not sure if this is appropriate place to ask, but I appreciate any help on this issue. I want to compare the distributions of the results of the two experiments played by the same group of people. I would like to get an advice about what are the possible non-parametric tests for this purpose. Many thanks in advanc... |
I'm working on a classification problem in which the underlying signal to identify is very hard to find.
I suppose that this is because the signal/noise ratio is very low.
My questions are fundamentally linked to my precedent question here:
1) Is there a way to calculate\estimate the signal/noise ratio? Given a set of ... |
I am fitting a generalized linea model to psychometric data, there's one variable, lets call is X, that I'm fitting with individual predictor variables because X has only three values i.e. 3 dummy variables, and a simple predictor variable does not fit the data well. I'm wondering whether I can call my approach non par... |
I'm currently conducting a survey on a pool of songs, divided in rounds. For each round, the user listens to 3 songs, and then choses the one he thinks is the odd-one-out (similarity-wise).
I'm planning to use the result of this survey to then optimize the parameters of an weighted euclidean distance metric between son... |
I gathered the cars sales data from public, 2552 people who traded in their Mazda, bought the different car brand below, Can I conclude that people who own Mazda are more likely to buy Honda? what method to use determine my result is statistically significant? how to add confident interval or margin of error? can anyo... |
I recently read @Kodiologist's answer to a post here looking for clarification on the relation between GLMs and non-parametric tests. His answer is along the lines of "the approach is not non-parametric because the model is fully specified by its parameters" (which are finite in number and don't change with the sample ... |
Azure offers GUI for designing models called Machine Learning Studio. Are there any open source alternatives?
|
I'm trying to fit a weighted binomial logistic regression model(using the maximum likelihood estimation method) to credit card transaction data. I'm trying to do this using the caret package.
This is what my dataset looks like.
V1 V2 V3 V4 V5 V6 V7 V8... |
The Bayesian Multivariate Linear Regression wikipedia article states that posterior parameters of a multivariate linear regression model with a Inverse-Wishart prior can be obtained from the following equations:
$$
\mathbf{V_n}=\mathbf{V_0}+(\mathbf{Y}-\mathbf{XB_n})^{\rm T}(\mathbf{Y}-\mathbf{XB_n})+(\mathbf{B_n}-\mat... |
Suppose we fit a Bayesian logistic regression model of the form
$$Y_i \sim Bernoulli(p_i)$$
$$logit(p_i) = \beta_0 + \beta_1*x + \alpha_{j[i]}$$
$$\alpha_j \sim N(0,\sigma_\alpha^2)$$
$$\beta_i \sim N(0,1000)$$
and we obtain samples from MCMC of
$$(\beta_0^{(s)},\beta_1^{(s)},\alpha_j^{(s)})$$.
Suppose we wish to cal... |
I have a question about how to get the standard errors of the coefficients in my GLM model. I have the fisher information matrix which I calculated by hand, but it is unscaled.
How can I scale the fisher information matrix so that I get the same standard errors from the GLM function?
|
I am having a hard time grasping the concept of how a GARCH model can have normal distributed innovations, yet the process is leptokurtic.
I have read in the book 'Handbook of Volatility models and their applications' that: Link
A great advantage of GARCH models is that the returns are not assumed
independent, and e... |
I'm dealing with a dataset of intermittent demand (orders) for the inventory of over 6000 parts. I've extracted one of the parts just to show the type of output I'm getting for a MASE calculation. They're all not as simple as this, but I'm wondering if this is a meaningful calculation or should I just discount all ze... |
As I was studying Cramers-V I saw two different Youtube videos authoritatively hand down 2 different sets of thresholds for strengths of measures of association.
The first video said that 0-.29 was weak, 0.3-.6 was moderate, and .6-1 was strong.
The second video said 0 was none, <.3 was weak, and .3-1 was strong.
Co... |
I've implemented a neural network and am using numerical gradient checking to validate the back-propagation algorithm is working correctly.
I'm using the standard method to calculate the numerical gradient:
$f'(x) \approx \frac{J(\theta + \epsilon) - J(\theta - \epsilon)}{2 \epsilon}$ where $\epsilon = 10^{-4}$, and
no... |
I met a paradoxical behavior of so-called "exact tests" or "permutation tests", the prototype of which is Fisher test. Here it is.
Imagine you have two groups of 400 individuals (e.g. 400 control vs 400 cases), and a covariate with two modalities (e.g. exposed / unexposed). There are only 5 exposed individuals, all in ... |
In tutorials, gradient descent is often shown as a point descending down a bowl shaped error surface. As it learns from examples it descends down the surface towards the minima.
It struck me today though that the error surface is defined in a nueral network per training example. So the surface should appear different f... |
I'm trying to implement a simple neural network (in Python) with 1 hidden layer and a loss function based on the GINI coefficient. But I just cannot find a way to minimize it with gradient descent. I'm not sure if this is even possible with this method. A simplified form can be written this way with e, current vector o... |
I want to model repeated measurements (let's say yearly) from multiple sites. Let's say after modeling these data with random intercepts for site and year we find there remains spatial correlation in residuals between sites. Here's an example dataset...sorry no actual structure in the data, which I hope is fine becau... |
This is a follow up question to the previous "There are 100 people in a room. What are the odds at least 1 person is born in January?"
|
Currently I am using numerical optimization in R via the optim() function to estimate some parameters in a complicated likelihood function. I know that optim can return the "Hessian" matrix which can be used to calculate model-based standard errors for my estimated parameters, however, I am wondering if it is possibl... |
I am looking for the CDF of the product of two independent random variables (X and Y) with uniform distributions. Both random variables uniform distributions have interval boundaries (upper and lower boundary of the uniform distribution) greater 0. Furthermore, the upper boundary is the same for both random variables .... |
For the collection of numbers $S=\{x_1,x_2,...,x_n\}$ consider the term,
$T_S =({\sum_{i=1}^n x_i^2})/({\sum_{i=1}^n x_i})$
where $\forall i, x_i \in [0,1]$ . Is there any specific name for this term?
If not what is the interpretation of this term?
Example:
$T_{\{x_1,0,0,...,0\}} = x_1$
$T_{\{0.9,0.01\}} = 0.89$
$T_{\... |
If for example i have a data set of multiple stores that looks something like this:
+---------+-----------+-------+----------+
| StoreID | Customers | Sales | Date |
+---------+-----------+-------+----------+
| 1 | 2 | 100 | 1/1/2018 |
| 1 | 5 | 200 | 2/1/2018 |
| 2 | 1 ... |
I would like to know more about the general process of finding an approximate distribution to fit a given sample. Or, more accurately, given a random variable $X$ with unknown distribution, and a sample $\{x_1, \ldots, x_n\}$ from it, find a good distribution to model that variable.
Somewhat formally, I want to find a ... |
I am using the bayesglm() function in R on medical data with 5% positive cases and 95% negative cases in the binary response variable. I have 20 explanatory variables, both continuous and categorical. I am wondering what the best method of prior selection is. I know I can use normal, t or Cauchy prior distributions b... |
I created the scatterplot on the left in Tableau and ran the regression line, which resulted in an R^2 of 0.63 (confirmed this in excel as well). Then, I used the "Force y-intercept to zero" option in line settings and was surprised to find that the R^2 value of my regression line actually increased (see scatter on ri... |
I have derived a likelihood function for $\theta$ as follows:
$$L(\theta)=(2\pi\theta)^{-n/2} \exp\left(\frac{ns}{2\theta}\right)$$
Where $\theta$ is an unknown parameter, $n$ is the sample size, and $s$ is a summary of the data. I now am trying to show that $s$ is a sufficient statistic for $\theta$.
In Wikipedia the ... |
I have been trying to learn machine learning via a data set consisting of animal positions taken from a tracker (as a GPS is out of financial reach for me). The ultimate aim is to be able to describe their behaviour.
I have found this quite interesting flowchart which helps visualise the main (or general) procedure in... |
Suppose that $X_i \stackrel{\mbox{i.i.d.}}{\sim} \mathcal{N} (\mu, \sigma^2)$, where $\sigma^2$ is known. Using this data, we wish to test whether $\mu \in \mathbb{Q}$, that is, whether the mean $\mu$ is a rational number.
It seems intuitively clear that we cannot do this, since any noise will be too much noise. I ima... |
This question is about empirical (real-life) usage of neural networks. In an ML class that I am taking right now, the instructor went through the basics of neural networks, from basic perceptron through basic feedfoward with 1 layer to 1 hidden layer, etc.
One thing that stood out to me was the Universal Approximation... |
In class my professor derived the variance for the AR(1) model in the case of $|\rho| < 1$. I am having some issues with derivation.
$$Var[X_k] = E[X_k^2] - E[X_k]^2 = E[X_k^2] - 0 = E[X_k^2]$$
$$E[X_k^2] = E[(\sum_{i=0}^\infty \rho^i \epsilon_{k-i})^2]$$
$$ = E[(\sum_{i=0}^\infty(\rho^i \epsilon_{k-i})^2 + 2\sum_{i<j}... |
I'm trying to evaluate the impact of an intervention in the most statistically accurate way possible but I'm having a hard time figuring out a way measure incremental growth along with statistical validation (for e.g., MAPE for forecasting). The problem with this data is that there is no historical data to forecast or ... |
I'd like to reproduce an article's analysis, but I'm having trouble understanding how a chi squared test is appropriate for their data.
The experiment is within-subject. There are 2 conditions, and each of the 60 subjects ran each condition 3 times. The data looks like this:
subject, condition, response
s1, A, 20
s1, A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.