instruction stringlengths 9 38.7k |
|---|
Logistic regression is a convex optimization problem and adding elastic net penalties is adding convex elements. So am I right if I conclude that logistic regression with elastic net penalties is also convex, and does this only hold in the special cases of the L1 and L2 penalties?
|
I want to estimate a GARCH(1,1) proces manually using maximum likelihood function which is also related to my previous post.
I wrote the below code:
library(fGarch)
#generate returns
set.seed(1)
garch11<-garchSpec(model = list())
y<-garchSim(garch11, n = 1000)
n<-length(y)
sigma2<- vector(length = n)
#estimating t... |
I am going to perform an action, $A$, on a system. The state of the system after the action can be $a_1$, with probability $p_1$, or $a_2$, with probability $p_2$. If the state of the system is $a_1$ ($a_2$), the reliability of the system is $x_1$ ($x_2$), both of which are normally distributed. I want to know the rel... |
A Fisher LSD test is basically a series of pairwise t-test except that the pooled variance is computed on all groups (and therefore does not vary from one comparison to another) while the normal t-tests calculate the pooled variance on only the two groups considered in the comparison.
On wikipedia, I read
In each t-t... |
Let $(X_1,X_2,...,X_n)$ be a random sample from a population distribution with $E(X_i)=\mu $ and $Var(X_i) =\sigma^2$ for all $i$ find the asymptotic distribution of $T= \frac{1}{n+k}\sum_{i=1}^{n}X_i$ ? .
In order to define the asymptotic distribution of $T$ I have used two ways but I got different results .There is s... |
Could it be from the data itself? Or is it because the model can't detect efficiently the similarities between data, or are there other reasons for misclassification?
|
I have a time series data of populations, e.g. for each time point, I have the blood pressure of 1 million of rats. How can I monitor that the distribution of this population drift over time?
For instance, if it is normal distribution, then the mean and variance might drift over time. But I do not know the distribution... |
Least Squares Approximation (LSA) for Unifed Lasso (Wang, Leng 2007) mentions Least Angle Regression (LAR) several times. Here's a direct link to the paper.
Specifically, in Section 4 they say:
All studies were conducted in R with the lars package (Efron et al. 2004). This package (and many others used here) can be d... |
This might be a stupid question but I cannot find definitive answer. Is there any way to prove that learned function has some kind of "linearity" with respect to input data and human perception? What I mean by "linearity" here is that small change in input data as detected by human, results in small change in output.
O... |
TL;DR: based on the chart below, would forecasting via X-11-ARIMA be appropriate?
I'm hoping this question (and any subsequent answers) could provide valuable insight into any other analyst considering using time-series forecasting in their work.
Long version:
I have data regarding the units of my company's product vs... |
I need to calculate Cronbach's alpha for a test planned to be administered for two different samples. The test is planned to measure knowledge of these two samples, and these two samples vary on the level of knowledge on the topic which test measures. My question is: When finding cronbach alpha for such a test, do I ne... |
I am curious about a normal distribution with no probability mass in certain regions, sort of like the complement of the truncated normal. In particular, it will have zero mass in a circular region.
Here is its pdf:
$$P(X | \mu, \Sigma) \propto I_{\{X \in C\}} exp\{-\frac{1}{2}(X - \mu)'\Sigma^{-1}(X - \mu)\}$$
Where $... |
In order to estimate predictive power of the model, we:
1)split the data on the training set(80%) and test set(20%).
2)Then we build the model based on training set
3)We use, for example, k-fold cross-validation in order to determine how good our model is.
Question 1 : I cannot understand why do we need to do first ste... |
I was reading the book Deep Learning by Goodfellow, Bengio & Courville and it seemed to imply that samples are only useful to:
approximate sum/integrals (why is this sooo important?)
when the goal is to generate samples itself (which is trivial since of course its important to sample if that is the goal)
However, I ... |
I have a data set in which each subject answered a subset of questions in response to visual stimuli (picture rating). At the beginning of the experiment, every subject got assigned 2 out of 16 questions, on which a large set of images was rated. I do not have measures of all 16 variables from all subjects.
My questio... |
Assume you had an alien year with an unknown length N. If you have a random sample of said aliens and some of them share birthdays, can you use this data to estimate the length of the year?
For example, in a sample of 100, you could have two triplets (ie. two birthdays each shared by three aliens) and five pairs and ei... |
I' am giving a toy example here for clarity, but I wish to apply this to a real problem I've encountered.
Say for every block in a city I measure the population and the average building height. Now, I notice that with increasing average building height the variance in population also increases. See below for simulation... |
I wish to generate three uniformly-distributions with specified correlations. How do I go about doing that?
For example, over here, a comment provides a quick method to generate pairs of random numbers which are uniformly distributed with specified correlation. I want to extend that to three uniform distributions.
I ... |
When verifying whether a potential instrumental variable is valid, how should I check if it meets the exclusion restriction? To reject that it meets the exclusion restriction, do I simply have to come up with a excluded variable that affects the dependent variable? Or does the excluded variable have to be an omitted va... |
I have a simple linear model describing a set of straight lines and would like to estimate confidence intervals for the parameters and the covariance matrix describing the hidden parameters. First attempts using linear mixed effects models as implemented in R using default options failed.
The confidence intervals co... |
I am performing semantic similarity on a number of texts. Using PCA, the similarity can be visualized as below
Is there a way to quantify the density of each cluster, as well as the overall size? I would like a way to show that TD is more dense than FXSA, as well as smaller in total size.
|
I'm looking to explore some data with particular requirements and I came up with this technique. Since I'm not an specialist in machine learning, I would like to know if there is any technique which resembles this I describe.
(Boldness denotes vectors)
Data comes in the form of $k$ real vectors with p variables $\mathb... |
In R, the function chisq.test has an option simulate.p.value. In the help page little explanation is provided but it reports to Hope (1968).
Could you please help me out by offering me a for dummy explanation of how p.values are being estimated when simulate.p.value is set to TRUE?
I have basic understanding of Monte ... |
I have 20 variants (numeric) and 3 factors. Factor 1: 2 treatments. Factor 2: 2 treatments. Factor 3: 4 treatments. 3 replicates. Can anyone suggest a suitable data analysis?
The hypothesis is to analyze the differences of metabolites (I analyzed 20 metabolites) in plants. There are four cultivars of the plants and the... |
For a movie rating, we can have its distribution like this:
Each rating would have a percentage. Consequently, we can obtain the mean, std from this distribution.
The question is what is the value range for the mean - std for the movie ratings?
Obivously, its bounded, and the std would be 0 for mean rating at 10. Fo... |
Ridge regression's objective function:
$$
L(w) = \underbrace{\|y - Xw\|^2}_\text{data term} + \underbrace{\lambda\|w\|^2}_\text{smoothness term}
$$
I am trying to understand the regularization term, $\lambda\|w\|^2$. My questions are:
What does smoothness mean here?
I checked the definition of smooth in Wolfram, but... |
Suppose $z_n=\min\{x_1,\dots,x_n\}$ where $x_i$'s are i.i.d. according to CDF $F$ over $[0,1]$.
Is it true that $Var(z_n)>Var(z_{n+1})$? What conditions would I need to ensure this monotonic relationship?
|
I'm interested to learn how I can use a trained LDA (Latent Dirichlet Allocation) model to make predictions on the topic proportion of a new, unseen document using Naive Bayes.
Let $z \in \{1, 2, ..., Z\}$ denote a particular topic (there's $Z$ topics in total) and $w_1, w_2, ..., w_n$ denote the $n$ words in the new ... |
Do we allow multiple members of the household to respond to the survey if weighting will be done only at the person level and not on the household level? That is, our unit of measurement is the individual.
|
In various literature i have seen both being claimed and now i am confused which one is true ?
The one that says linear in terms of weights claims that one can simply add higher order terms for the inputs and still learn non linear models while optimization problem remains linear in terms of weights.
There are other th... |
(1) If I conducted Exploratory Structural Equation Modeling (ESEM), and specify the model as follow:
f1-f2 measured by v1 v2 v3 v4 v5 v6;
Can I also allow regression path between f1 and f2, i.e.:
f1 -> f2?
(2) If the answer in Question 1 is no (I cannot specify regression path between latent variables while doing ESEM)... |
I want to fit a polynomial model for the dataset which respondent variable is the length and the predictor variable is the Age. The dataset was recorded for 12 moths for the two years 1984 and 2010, and each month has its own value for different items recorded in that month which using their ID's. Different items are r... |
I see that if I repeatedly try following 2 commands, the biplots remain the same:
pc <- prcomp(iris[-5], scale=TRUE)
biplot(pc)
and:
pc <- princomp(iris[-5], cor=TRUE)
biplot(pc)
However, if I try following code of robust PCA (taken from help text of ?princomp in R), the output biplot keeps varying:
pc.rob <- princ... |
I'm training a classification SVM for a binary classification model with 20 features (LIBSVM). These are some reports of my model (with different combination of features). Why all nBSVs are zero? Otherwise, based on *.* and .* outputs, the SVM trains real fast. Is this a problem?
.*
optimization finished, #iter = 1194
... |
In short: I am using k-means clustering with correlation distance. How to check, how many clusters should be used, if any?
There are many indices and answers on how to establish a number of clusters when grouping data:
example 1, example 2, etc. For now, I am using Dunn's index, but it is not sufficient due to one of t... |
Currently I have data (true population size is unknown).
There are n data points in descending order, and we know the values of 25% and 50% percentile, say x1 and x2. How can I estimate if the sample size is sufficient such that x1, x2 are within 5% of margin of errors of x1 and x2?
For example, suppose n=1000 and data... |
I was given the results of a factor analysis performed on categorical variables. The factor analysis used consisted in a WLSMV method of estimation with the model fit applied to a tetrachoric matrix (with probit link function). The number of factors was determined with parallel analysis and the resulting factor loading... |
Data looks like this:
time longitude latitude obs
1 xx yy zz
2 xx yy zz
3 zz
4 xx yy zz
and so on. There are sometimes missing values for the longitude and latitude covariates. Since these are somewhat dependent on the longitudes and latitudes f... |
I want to use SVM-scale for both training and testing on Matlab using libsvm. In libsvm document implement this but using Python and I need for Matlab. how can I do it?
|
Background
My friend did an observational experiment. She observed several colonies of animals for six months (one time per month) in the year 2014 and 2015. Some treatment to the environments of those animals were made in the year 2014 and in the year 2015, the environment was kept as natural as possible. She wants t... |
I’m performing an exploratory factor analysis with 28 items, n = 300.
I’m confused whether I have a multicollinearity problem or not, and if so whether/how I go about choosing items to remove from the model.
SPSS tells me that the Determinant = 2.395E-10, which is much smaller than 0.00001, suggesting multicollinearity... |
I have two variables speed and vibration and you can see that speed causes vibration. I am trying to fit this using auto.arima. But when i plot the fitted model, it gives bad result
> head(datax.ts)
Time Series:
Start = 1
End = 6
Frequency = 1
vibration_x Speed
1 -0.252 12.47183
2 -0.668 1204.8903... |
I have a data.frame with a column Material that has 7 different codes for 7 different materials: 'AC', 'GGIJ', 'HPE', 'ONB', 'PE', 'PVC', 'ST'
Is there a way to stratify my data considering two or more of these as equivalent (i.e. generating 6 levels instead of 7 because for example 'PVC' is considered in the same leve... |
I am doing an MSc dissertation in psychology at the moment. I have collected data from 307 groups, and I am trying to run a 2x2 ANOVA.
The DV is 'number of conversations'. One IV has 2 levels (yes or no) and the other IV is group size (3 levels: 3-5, 6-7 & 8+).
The data has violated the assumptions of normality and hom... |
When modeling count data I often have varying waiting times or varying surfaces (differing protocols of count between two studies that need to be merged). How can I use a Poisson count model while accounting for the different "search effort"?
I can apply that to R
Example (random) data:
flowers <- data.frame(n=rpois... |
I already search the net with regards to the significance of the baseline variable. One of the sources that I've read is you will not know whether a baseline variable is significant to the regression model.However, people would ask whether the response in the baseline variable is significant or not. Let say I have a da... |
I have a regression model which looks like this:
Y+1 = 0 + 1X1 + 2X2t + 3X3t + 4X4 + εt
Where I first run the model with X1 “as it is” and then I want to change the variable X1 to see what effect a potential another way of accounting might have. Then I want to compare the differences in 1 and r-squared between the mod... |
I have two data sets with transaction history of customers by date and product (de-identified). These are from two different sources and have different capture rate (e.g.: One might have 5 transactions for a customer and the other may report 7). I also have information like ZIP, age, gender for these customers.
What ma... |
When a certain transformation is applied to a variable and the aim of that transformation is not met (e.g. normality, variance stabilization), can one apply several layers and/or types of transformations to the same variable to reach the aim? E.g. a log transformation of an already log transformed variable, or a log tr... |
When I plot my data-set on a scatter plot I see a complex correlation that I don't know well how to quantify: the points present a kind of upper limit, a "cap". Note that the X marginal distributions have similar mean value (around Y=0.05 ), as evident in the colored 2D histogram. But I want to quantify numerically the... |
I have been given some data that has date of admission, date of disposition, disposition (death or live discharge), and some biomarker levels. I would like to model this, but here is the rub:
The longest-staying patient died. All other patients left the study (were discharged from hospital) before that time period.
Is ... |
I have a dataset with x and y values which are both calculated averages from three values and consequently they also have an associated error.
I have about 100 x,y points which I want to plot. Adding both horizontal and vertical error bars is a good method, only there are too many points and it doesn't look nice. In th... |
Can someone tell me the actual differences between the Survival copula and Normal copula model in terms of the programming aspects in R. Am working on bivariate dataset with censored observations and am having hard time differentiating in the code as well as the their behaviors with regards to different copula classes ... |
I'm writing a paper for computer networks and came across the problem of calculating the probability that a certain event happens:
Problem:
I have two wires, each transmitting one bit of information at a time. Each wire can malfunction and send the wrong bit with the probability of p. if the two wires transmit 32 times... |
I write my questions in brief here upon requests from IWS (thanks for your reply):
1) Has anyone ever given a proof that Marginal Odds Ratio$=1->$ Conditional Odds Ratio$=1$ (let's call them $MOR$ and $COR)$? Because, in this case, we could consider the test on $COR=1$ and $MOR=1$ equivalent.
2) Has anyone ever studie... |
I want to do a 3-degree polynomial regression like
$$y_i=a_0+\sum_{u=1}^{k} a_{u}x_{i,u}+\sum_{1\leq u \leq v \leq k} a_{u,v} x_{i,u}x_{i,v}+\sum_{1\leq u \leq v\leq w \leq k}a_{u,v,w}x_{i,u}x_{i,v}x_{i,w} +\varepsilon_i,$$
thus that in vector form I have
$$
y_i=\hat{\mathbf{x}}_i^T\mathbf{\beta}+\varepsilon_i.
$$
With... |
I am trying different methods for propensity score matching, and I have an issue on matching with replacement.
I use standardized difference to measure the "quality" of my match, and for this specific case where I can have the same control for different pairs I do not get how to compute the mean of any variable for my ... |
I need to interpolate simple linear equation to the set of points. Equation has the following form:
$$
log10(y)=A+B/(C-X)
$$
where A,B,C - coefficients of equation.
So far I was able to interpolate only the following:
$$
log10(y)=A+B/(1-X)
$$
which in R code looks like
log10(y) ~ I(1/(1 - X^-1))
But I am interested in... |
Many people (including me) is thinking or used to think that an overfitted model is the model in which the training error >> the validation error. But after reading this very interesting comment by @Firebug, I suddenly realized that it is not true. Random Forest is a perfect example of this, the training error is often... |
Suppose $x$ and $y$ are independently distributed according to CDFs $F_x$ and $F_y$ respectively over compact support $[0,1]$. Under what condition is $\operatorname{Cov}(x, \min\{x,y\})\gt 0$?
|
If we know that:
How should I calculate the likelihood? I arrived to the next expression:
But something must be wrong because when I do this numerically, if n is big this likelihood will tend to 0... Easily deductible
|
I know that bias is the difference between this estimator's expected value and the true value of the parameter being estimated. In classical approach the parameter has one particular true value, meanwhile in Bayesian approach the parameter value (is fixed but) is chosen from a probability distribution.
But is it Bayes... |
Let the density function be given by
$$ f(x;a,b) = \frac{a + 2 b g(x) + (1-a-b) g(x)^2}{(1-x)(2 b g(x) + (1-a-b) g(x)^2)}$$
where $a$ and $b$ are parameters of interest and $g(x)$ is a known function.
I was told that using this density function in maximum likelihood, the parameters $a$ and $b$ are identified.
The conce... |
Imagine I want to regress y on x1, ..., xk. I have missing values in the dependent variable, as well as in some of the independent variables, and have used multiple imputation to create D imputed datasets.
So I run the regression using each of the datasets, combine the estimated parameters and standard errors using Rub... |
For those who know something about statistics,
I'm wondering how to analyze a prediction interval encompassing other prediction intervals. To provide some background, I'm not talking about confidence intervals (they are often confused). I'm computing a 95% one-sided prediction upper-limit for a set of data. The definit... |
As discussed in this post, perfect separation (algorithm did not converge) is a separate issue aside from "fitted probabilities numerically 0 or 1 occurred".
As suggested in @gung's example, the model can be perfectly fine, even fitted probabilities numerically 0 or 1 occurred.
So, why R is giving such warning? Becaus... |
I have two groups, transgenic and control mice, in which I take two measures at two different times. I want to see if there is an effect in the variable within-Subjects depending on the time and if this effect is different between my two groups (eg. the effect can be observed in the control group but not in the transge... |
A statistical model for the data set $\bf{y}$ is an exponential family with canonical parameter vector $\theta = (\theta_1,.. \theta_k)$ and canonical statistic $\bf{t(y)} $=$(t_1(\boldsymbol{y}),..t_k(\boldsymbol{y}) ) $ if it has structure
$f(\boldsymbol{y};\theta) = a(\theta)h(\boldsymbol{y})e^{\theta^T\bf{t(y)}} $... |
I am using multivariate autoregressive (MAR) models to fit my long-term dataset of species abundances and environmental variables but when I use only the data from a specific period of the year (e.g., summer) instead of all of it, some coefficients from the resulting model are greater than 1. What does this mean? Shou... |
I have a pdf modelled as a piecewise linear function that I can represent as the sequence of pairs of real numbers standing for the points in the of the piecewise line: $\{(x_{1}, y_{1}), \dots, (x_{n}, y_{n})\}$ such that
each $x_{i}, x_{i+1}, i=1\dots n-1$ is a bin; the first two points are on the x axis, i.e. $y_{1... |
I'm using XGBoost (extreme gradient boosted trees) for binary classification. I'd like to calculate feature importance scores, to help me understand the relative importance of different features. The XGBoost library supports three methods for calculating feature importances:
"weight" - the number of times a feature ... |
I am currently studying "Gaussian Processes for Machine Learning", and in chapter 3 they state that the posterior $p(y_*|X,\mathbf{y},\mathbf{x}_*)$ (eq. 3.10) and the latent variable posterior $p(f_*|X,\mathbf{y},\mathbf{x}_*)$ (eq. 3.9) cannot generally be solved analytically, due to the sigmoid likelihoods in (3.9) ... |
Two well-documented "empirical regularities" of asset return series are
Serial dependence: (i) Linear autocorrelation in $x$ (up to 20 minutes); (ii) Autocorrelation of non-linear functions of the series (e.g., $x^2$, $|x|$, $\cos(x)$; up to several weeks)
Non-gaussianity: (i) Leptokurtosis; (ii) Positive skewness. A ... |
I have a SAS PROC MIXED question and I hope that y'all would be able to help me. It is my first time posting a question on here.
First, an analog to help define the question: Imagine that a researcher has a predictor with three levels and one outcome measure. The researcher is interested in testing the main effect and ... |
Assume I only did a completely randomized experiment (CRE), i.e., $N$ subjects, I randomly assign $N_t$ (say $N_t=N/2$) of them to the treatment group and the rest to the control group. Now, after I finish the experiment and try to compute the average treatment effect. I also see that I recorded the gender of each subj... |
I am currently writing a seminar paper where I among other things conduct a Wilcoxon rank-sum test. The sample size is very small, so I don't have any significant results. My professor thought it might be interesting to calculate the sample size that would be sufficient for a 5%-signifance level assuming the effect is ... |
Can we say that clustering is a function?
Of course, the term "clustering" is broad and can mean different things in different contexts: clustering as an area in machine learning, clustering algorithm, clustering mathematical method, etc.
But, can we talk about a clustering function? Like we can talk about classificati... |
I'm kind of new to ensemble methods, but since bagging, pasting and voting gave me some improvement in accuracy of my feed forward neural network (implemented in Tensorflow with multiple hidden layers) I thought I'd give boosting a try.
Since I already used Sklearn's BaggingClassifier and VotingClassifier, I thought f... |
In a time series, I want to predict $ b_{i+1} $ and I know $ ...,x_{i-1},x_i, x_{i+1} $ and $ ...b_{i-2},b_{i-1},b_i $.
I know by prior knowledge that they have a linear relationship:
$\alpha * x_i = b_i$
Normally I would just make a linear regression to understand the constant $ \alpha $ and find:
$ E[b_{i+1}] = \alp... |
I have the following problem I consider to model with HMM. However, it seems to me like a non-standard application or it possibly makes no sense employ HMM. I already have some practical experience with HMM used on time series and quite good theoretical knowledge.
Problem:
I am observing a continuous, time series-like ... |
I have trouble picking an appropriate statistical evaluation method for my experimental data.
A number of reliable participants perform a binary categorization task over n phrases. For each data point I end up with $x$ "0" votes, and $(n-x)$ "1" votes. Now I need a measure that helps me decide when it is appropriate to... |
I have one continuous dependent, two categorical independent and one continuous covariate. How I can deal with the violation of homogeneity of regression coefficients which is the ANCOVA assumption. Do I need to check this assumption when I enter the interaction between two independent variables too?
|
I want to model the relationship between two (time-series) variables by using a Vector Autoregressive model (VAR). Since I am not entirely familiar with time series analysis yet, the following question came up in my mind: Is it a good idea to simply model the relationship of the variables by using OLS? I thought it mig... |
I am using TensorFlow's pre-trained model of Convolutional Neural Network.
https://github.com/tensorflow/models/blob/master/slim/nets/resnet_v2.py#L130
I found following sentence:
However, for dense prediction tasks we advise that one uses inputs with
spatial dimensions that are multiples of 32 plus 1, e.g., [321, 3... |
If the speed of a car is $v = at$, at time $t$ it will be $\frac{1}{2}at^2$ units away from the origin.
If an ideal spring is displaced $x$ units away from its original position, it gains $\frac{1}{2}kx^2$ units of potential energy.
The area of an circle is $\frac{1}{2}\tau r^2$, where $\tau = 2\pi$
It is clear that a... |
The central limit theorem states that the limiting distribution of a centered and normalized sum of independent random variables with mean $\mu$ and finite variance $\sigma^2$ is Gaussian.
$$
\frac{\sum_{i=1}^n(X_i-\mu)}{\sigma\sqrt{n}}\xrightarrow{d}N(0,1)
$$
However in practice, we may not be working with sums of cen... |
I have 3 layers of data [in individual columns] indicating different characteristics of resistance of vegetation to stress across a city. I have another layer of median income for my study area. I would like to see if income has any impact on vegetation's response to stress.
This seems like a problem for multivariate l... |
I have continuous random variables: $X_i;~i=1,\cdots,K$ which are i.i.d. and $Y_i;~i=1,\cdots,K$ which are i.i.d. However, $X_i$ and $Y_i$ are independent but not identical.
Now I have $Z_i=\min(X_i,Y_i);~i=1,\cdots,K$. Can I claim that $Z_i;~i=1,\cdots,K$ are i.i.d?
|
I was calculating the deviance from a regression model that I fitted following the same idea from here Deviance.
For a likelihood $p(y|\theta)$, we define the deviance as
$$D(\theta)=-2\log p(y|\theta)$$
The problem is that in this model the deviance is negative and I was trying to calculate the deviance residuals ... |
I would like to know whether there is a cut-off probability of outcome when classifying observations into more than 2 classes.
For instance, the threshold in binary logistic regression is usually 0.5, so much so that a probability below 0.5 disfavours the reference outcome.
However, in a three-class problem it seems th... |
I need to fit a 7-parameter function (actually 6 since one of them is fixed) on a histogram using ROOT. The function is basically an asymetric gaussian curve. The algorithm I'm using actually makes between 20 and 1000 fits and keeps the parameters that produces the highest p-value.
After each try, the code makes a chi-... |
stage1 n1 stage2 n2
1 4 10 7 10
2 3 20 5 20
3 2 30 3 30
4 1 40 4 40
I have information on 4 studies (one per row), and I have information on how many people have the disease at each stage. Study #1 has 10 individuals, and 4 people have the disease at stage1 of the trial (propo... |
I'm still in awe of whuber's crayon-depiction of covariance: How would you explain covariance to someone who understands only the mean?.
I get that in order to represent variance of $x$ with CDF $F$ using this crayon method, we would need to draw 3 i.i.d random variables $(x_1,x_2,x_3)$, and compute the amount of "red... |
I observe things so that, during an observational session, I develop a probability density function $f(x)$ describing the likelihood that $x$ is equal to different real numbers. I have $n$ of these observed probability function $[f_1,f_2,\dots,f_n]$. All of these observations seem equally valid to me. How can I combine... |
Let $x_{i:n}$ be the $i$-th order statistic of $n$ i.i.d. draws from CDF $F$ over compact support $[0,1]$, i.e. $x_{1:n}\leq x_{2:n}\leq \cdots \leq x_{n:n}$.
Do we always have $Var(x_{1:n})\leq Var(x_{2:n})$?
|
Recently I attended a seminar where they said that a machine learning (ML) model is just a mathematical equation.
Having been studying neural nets and deeper models as such I feel it is not a precise statement.
A ML model could be better said to be a black box in which there are signals to tune its parameters. Internal... |
I am in general confused about the assumptions of linear regression and on whom are those assumptions taken to be and what are the consequences of these assumptions on the validation procedure for the regression model.
Can someone help in this regard.
|
Say I have 1000 points in my data and perform 5-fold cross validation.
Each fold uses 800 instances to train the model, then calculates the error on the holdout fold of 200.
The 800 training instances will not be distributed exactly as per the original 1000. The average of each predictor variable amongst the 800 will b... |
I'm reading through a lesson on Bayes theorem and I saw this slide:
How can model & data be == (data | model) x P(model)?
Does the & not imply multiplication? Otherwise it implies that data == data | model.
|
I am having trouble constructing a lift curve from scratch.
Say I have bunch of 0-1 labels, and predictive labels. In order to construct the lift curve, I do the following steps (assume I have already trained my model using a logistic regression):
make a prediction using the validation set
Sort the outcome of step #1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.