instruction stringlengths 9 38.7k |
|---|
I am trying to get my head around interaction terms. Suppose if I fit a model and try to predict pass or fail for state exams. The independent terms are: rank of school, results in midterm and over GPA score. Would I be right to say I believe that there could be a interaction term between rank of school and GPA score? ... |
I should do analysis about "Intrusion Detector Learning" in data Science course. Software to detect network intrusions protects a computer network from unauthorized users, including perhaps insiders. The intrusion detector learning task is to build a predictive model, i.e., a classifier, capable of distinguishing betwe... |
In general we maximize a function
$$ L(\theta; x_1, \ldots, x_n) = \prod_{i=1}^n f(x_i \mid \theta) $$
where $f$ is probability density function if the underlying distribution is continuous, and a probability mass function (with summation instead of product) if the distribution is discrete.
How do we specify the like... |
I am trying to optimize the perplexity parameter of t-SNE in order to better understand the degree of separability of various data sets.
Kullback-Leibler divergences of t-SNE solutions are directly comparable between runs when perplexity remains fixed as mentioned in the author's FAQ:
if you use the same data and per... |
Negative Skewness is defined as:
The left tail is longer; the mass of the distribution is concentrated on the right of the figure.
Is it possible to obtain an Negative Skewness distribution with both positive or negative values for the difference between the 75th and 25th percentiles: $q_{75} - q_{25}$ can be >0 or <0... |
For a controlled therapeutic trial, is there any value in comparing the p-value of control group pre and post treatment to the p-value comparing the treatment group pre and post treatment?
I'm reading a study in which values for lameness (evaluated on a 1 to 100 numerical scale) were measured pre treatment, then at ti... |
I was experimenting with cabbages data set and linear regression in R. I tried a Durbin-Watson test on model "Vitamin C concentration as function of cabbage head weight" and got significant result of autocorrelation:
data(cabbages, package = "MASS")
lmtest::dwtest(VitC ~ HeadWt, alternative="two.sided", data=cabbages)
... |
I have data on temperature from 1969 to 2013 (link).
I want to predict next year's temperature using an ARIMA model with finding correlation between predicted value and actual value. So I want to use data from 1969 to 2010 and then I want to predict for next 3 years. Furthermore, I want to compare it with the actual v... |
Does anyone have any good resources for building explanatory regression models? Using the distinction between explanatory vs. predictive models described in Shmueli (2010) (text available here), I'm wanting to building an explanatory model because I'm interested in examining how several variables specially affect the o... |
I have some radiation data with a distribution that looks somewhat bimodal. I am looking for a distribution to fit the data (in a negative log likelihood function which will be minimized using optim()). I have tried fitting a normal and a beta binomial without much success. I would prefer not to transform my data. Is t... |
I have two time-series datasets that I'm trying to compare between years (see attached examples). I'm particularly interested so see whether overall levels (means?) per month were lower in one year compared to the other, ignoring the day-to-day variability.
I have no experience with time-series data yet and don't know ... |
I have conducted a research about extracting words from a sentence (on natural language processing (NLP)). I would like to know the best way to compute the F1 score for this research. I have categorized the data as follows,
Total number of words identified by the machine = 9
Total number of words identified by the hum... |
Triplet-based distance learning for face recognition seems very effective. I'm curious about one particular aspect of the paper. As part of finding an embedding for a face, the authors normalize the hidden units using L2 normalization, which constrains the representation to be on a hypersphere. Why is that helpful or n... |
About non central chi-square, I have read paper from Castano-Martinez and Lopez-Blazquez(2005). They made expansion of $\chi_n^2(\delta)$ using inverse-Laplace transform and used Laguerre polynomial. I have a little confusion about its notation.
In page 4, equation 2.3, the probability density function of $ \chi_n^2(\d... |
I have a simple query regarding the construction of a confidence interval for a p-value. How do I construct such a confidence interval? Like we construct a C.I. for t-value ($\bar{X} \pm t \times(s/ \sqrt{n})$), can such kind of intervals be created for p-value?
I think (not completely sure) such C.I. for p-value is ca... |
I have data with over 40,000 observations. The dependent variable is binary, and I have around 20 independent variables, some numerical and some categorical.
The data involves women who gave birth in a specific hospital, and the dependent variable is telling us if the woman chose to stay (and pay) in the hospital's mot... |
I think this is a basic question but really I just need a definite starting point.
I am working in R. I have a dataset as follows
rowid TimePoint1 TimePoint2 TimePoint3 TimePoint4 TimePoint5 etc.
1 54 34 55 74 474
2 36 63 ... |
This is the result of a linear model (MatLab, LinearModel.fit):
Linear regression model:
y ~ 1 + x1 + x2
Estimated Coefficients:
Estimate SE tStat pValue
(Intercept) -0.24454 0.13033 -1.8763 0.081615
x1 0.0032239 0.0121... |
In order to improve the convergence of a MLP, one should do "mean removal", "decorrelation" and "covariance equalization".
I know how to do mean removal, but how do you do decorrelation and covariance equalization ? I didn't find any formulas on that online.
I don't even understand what decorrelation/covariance equal... |
I'm using AB test calculator (http://abtestguide.com/calc/) and I'm wondering what statistical test is lying under it. Is it t-test or z-test?
|
Independent censoring is one of the fundamental assumptions in the survival analysis. However, I cannot find any test for it or any paper which discusses how real that assumption is. I would be grateful if anybody could point me to some useful references. I have found the following paper as an interesting reference but... |
I am supposed to standardize a training and a validation set "so that the training set has zero mean and unit $l_2$-norm". In order to do so I use the data.normalization function from R's ClusterSim package,
normalizedtrainingset <- data.Normalization(trainingdata,type="n12",normalization="column")
which does do ... |
I have 2 sets of data.
First set is historical data and samples are taken up to a date. It has 3000 samples.
Second set of new samples are taken after that particular date. It has 400 samples.
I want to compare these two sets of data statistically.
Which test should I apply? Student-T or Z test?
How can I do it in MATL... |
If the data is not separable, we can minimize
$J = \frac{1}{2}\|w\|^2 + C\sum l_{0/1}(y_i (w^T x_i + b) - 1)$
here,
$l_{0/1}(z)=
\begin{cases}
1,& \text{if } z\lt 0\\
0,& \text{otherwise}
\end{cases}
$
In this plot, the green curve the $l_{0/1}$ loss and the blue one is the hinge loss
$l_{hinge}(z) = max(0, 1... |
In the original tSNE paper (van der Maaten and Hinton 2008, Visualizing Data using t-SNE) the similarity probabilities for stochastic neighbor embedding (SNE) are defined in Section 2 as
$$p_{j|i} = \frac{\exp(-||x_{i} - x_{j}||/2\sigma_{i}^{2})}{\sum_{k \neq i}{\exp(-||x_{i} - x_{k}||/2\sigma_{i}^{2})}}$$
and the pro... |
The formula for the AICc is:
AICc = AIC - 2k(k+1) / (n-k-1)
where k is the number of parameters and n the number of samples.
Is it somehow possible to calculate the AICc for n=k+1? Why does the formula not allow calculation of AICc in such case?
Thanks.
|
I have a linear regression with four main effects (3 continuous and 1 factor) and the factor predictor is unbalanced.
I am not interested in the interactions between the main effects. However, I'd like to use type II sum of squares as I want to test the effect of each main effect after accounting for the other main ef... |
I would like to study time series modeling and state space modeling for the purpose of modeling a complex physical system (vibrations of an industrial machine). The system is mostly linear (small deformation hypothesis applies), but there could be nonlinearities due to coupling with the operating fluid. I had a look at... |
I am new to Machine Learning and learned about Decision Tree Learning as part of a problem I am tackling on for an Undergraduate Research Assistant position.
The problem:
From a set of positional data of hockey players and pucks, how can one recognize when a shot is made?
The issue:
I have access to two games of hocke... |
The following link describes the Bayes weighted average with an example.
$$S = wR + (1-w)C$$
where
$S$ = score of the restaurant
$R$ = average of user ratings for the restaurant
$C$ = average of user ratings for all restaurants
$w$ = weight assigned to $R$ and computed as $v/(v+m)$, where $v$ is the number of user rat... |
Internals Recap. CLD2 is a Naïve Bayesian classifier, trained on documents of mean size of 200 characters, trained on a corpus of 100M scraped and human expert selected web pages.
When working on long documents size like
~3000-4000 words,
~40-50.000 characters
of mixed input texts (at least 2-3 languages in the same... |
Let $\mathbf{X} = (X_0,\ldots,X_k) \sim Mul(n,\mathbf{p})$ be a multinomial RV. We define the following hypothesis test: $$H0: \mathbf{p} = \mathbf{p_0} := (p_{01},\ldots, p_{0k})$$ versus $$H1: \mathbf{p} \neq \mathbf{p_0}$$
Pearson's $\chi^2$ test statistics is $$T(\mathbf{X}) = \sum_{i=1}^k \frac{(X_i-np_i)^2}{np_i}... |
I'm new in this forum and I want to ask a question: I'm working with SVM and I want to choose the best parameters for my model so I do as follows:
iris = datasets.load_iris()
X = iris.data[:,:2]
y = iris.target
X_trainval,X_test,y_trainval,y_test=train_test_split(X,y,test_size=0.3,random_state=0)
X_train, X_valid, y_tr... |
When JW Tukey retired he wrote an article called Sunset Salvo in which he, among other things, enumerates some Numerical Antihubrisines. These are different rules of thumb for how many observations you need to for eg. make your confidence intervals so-and-so narrow. I struggle with understanding the following antihubri... |
I have a dataset of 15 environmental variables (soil physical and chemical properties) and about 25 "species" variables for about 40 sampling sites. I want to do a CCA to analyse the effects of the environmental data on the species pattern. However, these variables are measured on quite different scales and units (eg. ... |
I'm doing a series of PLS analysis to test the contribution of a set of environmental variables to the invertebrate community of a river.
I am introducing into the model 23 environmental variables (2 of them are dummy variables)
The invertebrate community is introduced into the PLS analysis as a biological metric (e.g... |
I'm trying to figure out if a sequence is random or not using Run Test and My question is :
1) Is run test can only applied when the probability between success and fail is the same? (e.g. when head is 0.5 and tail is also 0.5)
2) What if I want to do a run test when the probabilities aren't equal (e.g. when head is 0.... |
I'm taking the Udacity/Google's Deep Learning course.
For problem set 2, we are training an SGD model.
One can tune the hyper-parameters (batch_size, number of hidden hidden layers, number of nodes per hidden layer, etc) using techniques described here:
http://scikit-learn.org/stable/modules/grid_search.html
But how do... |
I have done a little Googling about quadratic weighted kappa, but I couldn't find a good explanation that make me understood that. Can somebody give some resource or brief explanation?
|
I want to estimate the effect of Brexit on unemployment in Northern Ireland. I have data on unemployment for towns on the border between Ireland and Northern Ireland for the period January-June 2016 and for the period January-June 2017.
I have the data for the county's that are along the border on both sides.
How do I... |
I'm trying to understand exactly how to use experience replay in DQN but I'm not sure I understand how it's done.
Here's how I think it develops:
Observe state s
Take action a
Observe reward r and new state s'
Store transition in replay memory D(s,a,r,s')
Now my question is where exactly do we go from here? do we trai... |
I am running regression model, and I found out that the one independent variable is dispersed in a very narrow range.
This is the summary statistic of variables, and variable age has some outliers, and not normality distributed.
size---------------------- age ---------------- dc
Min. : 69... |
Does anyone know of a method to calculate and plot [absolute] hazard ratio curves over a continuous variable? I know of the 'smoothHR' package in R, but it uses an arbitrary reference value and I cannot get it to plot the absolute HR. What I am after is something like the figure 3 in this article: https://www.ncbi.nlm.... |
In a bicycle race between two competitors, Let Y(t) denote the amount of time (in seconds) by which the racer that started in the inside position is ahead when 100t percent of the race has been completed, and suppose that ${(Y(t),0 \leq t \leq 1)}$ can be effectively modelled as a Brownian motion process with variance ... |
If an answer is illustrated with R code, it would be even more gratefully accepted.
|
I have read what KL Divergence is about: assess differences in probability distributions between two sets.
I have also read, and digested, that it is emphatically not a true metric because of asymmetry.
Now I have been wanting to ask: I cannot find a simple textbook example of KL Divergence. Can someone point to me h... |
In a usual online marketing set up - a typical application of AB test is:
impression / clicks = CTR%
I am trying to investigate a different set up:
revenue_amount / conversion = conversion_value (monetary)
Can I run a test on the metric 'conversion_value'.
The revenue is generate taking into account the number of co... |
What is the difference between a normal distribution and an independent and identical distribution?
|
I have a general question about regularization in linear models. This was inspired by Knight and Fu's 2000 paper Asymptotics for Lasso-Type Estimators. Their basic set-up is that we have a fixed number $p$ of variables, and $n$ observations on them with $n \to \infty$. For each $n$ let $C_n = \frac 1n X_n^T X_n$, and a... |
I have an empirical distribution of household income based on the US census from wikipedia and I'd like to generate a plausible distribution for the income distribution in a region given its median income.
To be concrete, here's a schematic of the income CDF:
Income | Percentile
20k | 20th
40k | 40th
60k |... |
I have collected data from 400 students through questionnaire on .5 likert scale about their learning of different skills when they are taught by Masters and M,Phil and PhD qualified teachers.
I have 3 IDV and and 7 DV. Data only collected through students.
The purpose is to find the impact of teachers qualification... |
How to improve the model fit in structural equation modelling. I have run my model without taking into account the covariances among mediating variables and my chi-square value was 0.00. But when I used the covariance between the exogenous variables (mediating variables) on the basis of fit indices my model fit or chi-... |
1) My null hypothesis (H0) is: The size of the board shall not influence the firm's performance.
My alternative hypothesis (H1) is: The size of the board shall have a positive influence on the firm's performance
I have run a t-test in Stata between Board Size and Return on Assets (which, in this case, is my measure of ... |
I have constructed a VEC model to study real housing price dynamics in relation to demographic demand, real GDP and costs of mortgages. However, I am stuck with the choice of deterministic terms.
The different options available regarding the choice of deterministic terms (as first(?) documented by Johansen in his book... |
I used TwoStep clustering in order to cluster my binary data in SPSS. Now there is mentioned on IBM site, that: "Note that the cluster features tree and the final solution may depend on the order of cases. To minimize order effects, randomly order the cases. You may want to obtain several different solutions with cases... |
Calculating AUC for one threshold in the continuous output is simple:
AUC = (TPR - FPR + 1) / 2;
What if I want to calculate AUC for multiple thresholds in continuous output of the classifier?
|
I want to run a regression where the dependant variable (DV) is the amount of funding (in USD) obtained by startups. Naturally the DV contains a lot of zero's (~55%) and has a continuous distribution for y>0.
In general my understanding is that the Tobit model (or a variation of it) is approriate to model this DV.
Alth... |
I have read about spectral density and periodogram from couple of books,still just one example from R code showed that I do not understand the theory.I have this data set
-9.385499194400e+02
-9.385424053600e+02
-9.385348912800e+02
-9.385236201600e+02
-9.385236201600e+02
-9.385123490400e+02
-9.385123490400e+02
-9.385236... |
I've been dealing with statistics for a few years now. Up to now, for the probability part I've been referring to my old university book (my edition is even older, by the way), and of course the Internet. Since most of my statistics books are more recent (such as for example Bayesian Data Analysis by Andrew Gelman et a... |
Suppose there is a set of $n$ independent observations $y_i$ from the exponential family of distributions. How can we prove that in a saturated GLM model, the fitted MLE values $\hat\mu_i = y_i$ for all $1 \leq i \leq n$?
Edit:
Using the new definition proposed I am still not sure I get the proof correct. Let $\dot f$ ... |
I cannot find a beginner explanation of the Dueling Network Architectures for Deep Reinforcement Learning anywhere online.
Most resources are rather advanced, so could anyone help with a bit of newbie explanation of how the calculations happen in a Dueling Network?
|
Is there an online filter algorithm that generates an optimal set (maximizes correlation of prediction) of feature weights (ie relative feature scaling) for a simple 1NN (or KNN) regression using either Manhattan or Euclidean distance metrics? I have a set of numerical X and y values, and I'd like to create a simple ne... |
I've been given a set of labeled images whose description arrays are 1x960 dimensional. Does it make sense to use these as input for my cnn? the 1x960 array is an output of the GIST feature extraction.
|
I've been asked to approximate the integral of a one dimensional unnormalised posterior with a flat prior, using a Metropolis Hastings Markov Chain Monte Carlo, I realise that this isn't a practical endeavour, i think its more of an instructional exercise.
At the moment, I am creating a Markov chain of sampling points... |
I have a large dataset of environmental chemistry data. Many results are U flagged by either the lab or validators. If I want to use these results to find average values over time I see there are several options for incorporating the U flagged results
Substitute the limit of detection (LOD)
Substitute the LOD/2
Substi... |
I'm reviewing a paper. It records the number of deaths in a population of a country due to drug related causes. The authors have calculated 5 year moving averages to better examine trends.
They then also calculated a confidence interval they call "Likely range of values around 5-year average".
So one such 5 year averag... |
Suppose, I have a data set with eight features in my hand.
Data are normally distributed.
I have juxtaposed their mins and maxes row by row.
f1 f2 f3 f4 f5 f6 f7 f8
min 0.0000 0.0000 0 0 0 -0.0000 -0.0000 -0.0000
ma... |
I am currently doing a systematic review on distal radius fractures. I want to give a mean age and sd in my systematic review. Therefor I need to calculate the mean from all the different means of the added studies.
Study 1: Included patients 30, mean 54.7 years, sd 14.1
Study 2: Included patients 45, mean 44.6 years... |
I am trying to solve the following Statistics 101 task on linear regression:
Both A and B are metric variables. It is known that the value of A is a good predictor for the value of B and in an experiment the following results are observed:
A B
1199 33
502 49
617 71
1029 52
487 62
1548 17
1251... |
I'm studying the convergence of the mean in Parzen Window estimates, and am having trouble figuring out the intuition behind one particular step in the derivation. It goes from
$$ \frac{1}{n}\sum_{i=1}^n E\bigg[\frac{1}{V_n}\;\varphi\bigg(\frac{\mathbf{x} - \mathbf{x}_i}{h_n}\bigg)\bigg]$$ to $$\int\frac{1}{V_n}\varphi... |
I'm trying to use a Kalman Filter to estimate an online dynamic regression coefficient between two variables (e.g. http://www.thealgoengineer.com/2014/online_linear_regression_kalman_filter/)
In the example in the blog post, there is one new observation per time step, which is used to update the Kalman filter. What if ... |
I have a continuous dependent variable which is positively skewed. The relevant data is panel data.
Can we run a Tobit regression on this dependent variable?
|
I have been using regression models where the most interesting predictions lay in top highest X% (say 20%) predictions. Moreover, the best trained model has to correctly maintain the relative ranking of these top 20% predictions: how can I tune a modified goodness of fit measurements to select among different models?
I... |
I'm working with a dataset of ~100,000 individuals where ~500 (0.5%) individuals received treatment.
I have several continuous and count outcomes for all observations that I would like to compare between treated and untreated. It would be important for the analysis to match individuals on several characteristics (that ... |
That is mean, variance and standard deviation.
My question is how to get from point 4 to 5 and also with the variance from point 6 to 7.
|
The probabilistic/statistical formulation of linear regression mean of y is assumed to be linearly related to x with a Gaussian zero mean error. Then we train to learn the parameters w that maximize the likelihood function p(y|x,w). But I don't understand why we learn probability of y, when we need to predict a value ... |
I am performing an analysis in which the unit of analysis is a geographical area (more precisely, an LSOA). This is a case when the sample analysed can represent the entire population (all 32000+ LSOAs in England). How do we interpret, in this case, the point and interval estimates of a, say, regression analysis?
|
Say we decide to take a 1% random sample (without replacement) of a population to estimate how many individuals have some condition.
We then observe that X individuals in the sample have this condition (e.g. 800).
That's all we know. We don't know the size of the sample, the population, nor anything else.
What can we... |
I am trying to find a good fit for my data, taking a multivariate analysis approach. That is I transform my data and do linear regression and pick the best one based on r squared.
The problem is sometimes my trend changes and therefore I get a poor fit for forecasting.
My goal is to identify the point at which it chan... |
There are many different widely used tree models. This is my notes and understanding of them. Could anyone tell me
If I am correct on the model I mentioned
If I am missing other "popular" tree model
Statistic community (many packages can be found in R)
CART (Classification And Regression Trees). This is from the cl... |
For experimental purpose, I want to intentionally over-fit my training data with CART. But with rpart in R. I cannot achieve 100% accuracy. Why?
table(d$classes,predict(fit,d, type="class"))
1 2
1 2544 21
2 33 2402
The data is generated from 2 Gaussian, so, there is no chance the two data points w... |
I measured the number of symptoms in an animal model during two time spans:
time 1- lasted 30d
after 30d I measured symptoms again
time 2- lasted 8d
I noticed that symptoms took over two weeks two develop in time 1 but occured right away during time 2.
The time of day I measured symptoms differed between time spans 1 a... |
I would like to explain to one of my professors why the regular methods for variance estimation are biased for complex survey data, but I am having some trouble articulating my point.
With weighted least squares in general, the variance for the regression coefficient is $var(\hat{\beta})=\sigma^2(X'WX)^{-1}$
This assum... |
I see a random forest as a parallel ensemble of CART models, and a gradient boosted machine as a series ensemble of CART models. A forest is defined by the interaction of many trees, so there should be a pruning that accounts for multiple trees and is more than "one tree at a time vs. the data". Is there pruning that... |
I was a given a data set with different predictors about a store and the the idea is to forecast the number of daily shoppers. The predictors are: weekday, time of the day (morning, afternoon, evening), week number, month, weather (humidity, dew point, temperature), holidays. The outcome variable is the number of visit... |
I am using a set of pretrained word embeddings (GloVe) in my NN model. So far i just omit OOV words and i add zero-padding at the end of a sentence to have a fixed length for all the sentences/docs (for CNNs).
I want to add special padding tokens for the beggining/end of a sentence and for OOV words (START,END,UNK res... |
Regarding my data collection, I have five groups plus a control group. I need to compare each group with control condition with and then find the highest difference in one of these groups.To briefly say, (Group1-Control group), (Group 2-Control Group) ...Group 5-Control Group).
May I use Paired sample T-Test and then f... |
The coefficients estimated for logistic regression are in log odds, and I understand it is common -- at least when interpreting the output -- to convert the log odds to odds so they're more easily understandable.
When reporting results for logistic regression, should log odds and their standard errors be reported, say,... |
I have a dataset where 69 videos are rated by 130 raters, but each rater only rates 10 videos each.
I need to calculate some measure of rater reliability, but everything I have attempted won't run because of the missing data.
After some reading, I have found that ICC(1) might be appropriate for this type of data, how... |
I couldn't find a clear-cut answer for it.
15 input variables, 4 output variables (continuous)
4 output variables are correlated
What kind of random forest model can I implement to do multi-output modeling?
|
I am familiar with NN's when drawn like this
In the diagram above, each layer (except the input layer) takes as inputs the outputs of the previous layer, a weight matrix, and a bias vector. When looking at diagrams for Deep CNN's
I understand that the various kernels used at each layer are learned via back propagatio... |
I have two very large distributions, I did anderson-darling test on these two distributions and the result shows they're from different populations, significantly. Now I want to know which samples in these two distributions are making them different. Is there a way to tell?
To be clearer, here's an example:
library(kSa... |
I've recently conducted a camera trapping study with the aim of assessing the utility of camera traps for detecting a target species and understanding the factors that influence their detection. However, I'm having trouble trying to develop a model formula. The 11 cameras remained at the same locations over successive ... |
I'm trying to ascertain the accuracy of a device used to distinguish values from different populations.
Currently each device measurement contains a data point from 8 different sensors. The value recorded from this sensor approximately belonging to a normal distribution.
I have taken 30 measurements from two groups, sa... |
I am working on inferring multiple variables from a given dataset.
The data is $X = {x_1, x_2,...., x_N}$ and there are $K$ classifiers $C_1,..., C_K$. Each classifier takes $x_n$ as input and returns a categorical variable as the classification output.
However I want to be able to factor in the classification outputs... |
I understand that p-value is the probability that the correlation we got happened by random chance and we typically want to keep that under 5%. I am okay with this logic when it applies to sampling of a dataset - for example, if I'm sampling 300 out of 1000 individuals, p-value explains what the probability that the c... |
I am trying to understand how to use RNN/LSTM; but I cannot understand some concepts related to topology. I found really useful information in this article:
http://colah.github.io/posts/2015-08-Understanding-LSTMs/. But then, when comparing that topology 1 to the one Alex Graves says in his LSTM writing2, and the one d... |
The below methodology is for a one-sided test.I am trying to use the two methods for obtaining the p-value where it should be the same in case of Binomial hypothesis testing. But I am receiving a slight difference in the values.
pi.H0 <- 0.65
n <- 121
alpha <- 0.05
pbar <- 87/121
( x.hi <- qbinom(1-alpha,size=n,prob=pi... |
Is there a way of estimating in advance the number of observations one needs to achieve a maximum prediction error given a machine learning problem?
There are a huge number of questions on CV and elsewhere relating to choosing sample size for estimation or hypothesis testing. I haven't seen, though, much discussion on ... |
To start off, please go through this question regarding measuring non-uniformity in probability distributions.
Among several good answers, user495285 has suggested a heuristic of simply taking the L2 norm of a vector whose values add to 1. I've found in my experiments that it actually works very well for most practica... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.