instruction
stringlengths
9
38.7k
We measured the same persons four times (T1a,T1b,T2a,T2b). Our theory is that the differences between T2a and T2b are caused by the influence of T1a on T2a and of T1b on T2b. Our hypothesis is that if we remove the influence of T1a/b on T2a/b, the difference between T2a/b will be zero. This is more or less like an anal...
I am facing an issue regarding the overall approach required for multivariate time series forecasting. I am a novice in R and statistics. Suppose I have 3 time series, X, Y and Z, where Z depends on either X alone or Y alone or difference of X and Y. My objective is to forecast Z using X or Y or X-Y. Now from what I un...
I'm working on a regression. The dependent variable is binary, and most of my independent variables are continuous, except one. For about 40% of the "age" variable, the data only says "> 5". How in the heck do I treat that? Replace with the mean? Treat age as a dummy variable (really don't want to do this)? Consider it...
Is there a formal test or an equation for comparing slopes from a multiple regression? That is, the estimates are not independent. For example, $$Y = β_0 + β_1X_1 + β_2X_2 + ε$$ Is there a formal test or equation for testing $β_1 - β_2$?
SVM is good with outliers as it will only use the most relevant points (support vectors) to find a linear separation. How does ANN deals with outliers?
I understand that there won't necessarily be a great answer to this, but I'd like to hear what people would do in this situation. Here's the data situation: I have about 30K policy records of which there are about 400 claims associated with them. I have an additional 400 claims that can't be matched to a policy. This ...
I'm exploring the differences between compound annual growth rates and continuously compounded growth rates. The World Bank seems to prefer using continuously compounded rates calculated using linear regression (when the data allow it). I set up the following example in R to illustrate the differences between a few met...
I got some questions about the Bayesian regression: Given a standard regression as $y = \beta_0 + \beta_1 x + \varepsilon$. If I want to change this into a Bayesian regression, do I need prior distributions both for $\beta_0$ and $\beta_1$ (or doesn't it work this way)? In standard regression one would try to minimiz...
Here is the problem I have (the figure below tries to depict the problem): There are two groups of patients - the BURN_GRP and the TVC_GRP, and all the patients are different (i.e. no patients in the BURN_GRP appear in the TVC_GRP and vice versa). The number of patients in each group is different, 125 vs. 219 (but I ...
I'm familiar with metrics of node centrality in a network. In particular betweenness centrality. Is there a metric that measures the betweenness of a node, for being in between 2 or more, pre-determined, groups?
I realize this question may not make any sense. I do understand the concept of expected outcome and how it can be used to guide decision making when you know the probabilities, costs, and benefits of certain outcomes. But what if you don't know the probability of something happening, but rather you know that doing some...
I have following two models (fit1, fit2) estimated using nls approach. I want to compare their goodness using anova, and the results follows: dd <- data.frame(t=0:10, Frequency=c(195746,93938,53181,31853,19856,12182, 7847,5459,4325,3203,2750)) model1 <- deriv( ~ c*(1+b*(q-...
I have seen and heard people use "sensitivity analysis" to refer to both: How different values (e.g., just males or the whole cohort) of an independent variable affects the model, and How the addition or removal of an independent variable in a multivariable model affects model fit. In addition to the answer on: https...
I want to fit GMM to a data set with N data points in D dimensions. I am using the full GMM in MATLAB, i.e., each component has a complete covariance matrix (as opposed to diagonal covaraices which could be shared across components). Thus, the total number of parameters for a GMM with k components is: (k-1) + k*D + k*(...
Suppose we have the points $2^0$,$2^1$, ...,$2^n$ on $x$-axis. If we are using Euclidian distance, draw a sketch of the hierarchical clustering tree we would obtain for the average linkage method. What I've done: Let $1 < k < n$ and $C_K$ be the $k$-th cluster obtained in hierarchy. We define the following distances: ...
How can I analyze the effects of a three-level within-subjects factor on an outcome measure, when the effects at the three levels are not independent? I ran an experiment in which each participant had to choose among four options (a, b, c, or d) on each of 12 trials, representing 4 trials for each of 3 levels (X, Y, an...
Two species of bird winter at my study site. Lets call them "Dark Species" and "Light Species". Dark Species and Light Species are spatially segregated: Dark Species tends to be found on the eastern side and Light Species tends to be found on the western side. This segregation is readily apparent in the field but a rev...
I'm implementing an ANN that predicts the stock market but I have a doubt about which inputs should I take into account and the best way to normalize them. I want to predict the daily highest value and for this reason I want to consider 'open value', 'lowest value', ' close value', 'volume value, and 'Adj close value'....
Having an issue wrapping my head around a problem today. I have 4 vectors: $A, B, X$ and $Y$. $A$ is linearly correlated to $X$ with an $R^2$ of ~0.93, and $B$ is linearly correlated to $Y$ with an $R^2$ of ~0.91. However, the ratios ($\frac{A}{B}$) and ($\frac{X}{Y}$) show almost 0 correlation. The funky part (in...
Suppose I have a 3D data set (3 features) and $c=2$ classes. If we perform LDA, we will only get 1 LD since the maximum number of dimensions is $c-1$. I understand from the math derivation of why this is the case, but still can't visualize why we can't have a 2D plane where we can project the 3D data and have maximum s...
I have 2 sets of experimental data to which I applied a linear fit using Matlab. I can use the slope value to compare between both of them. My question is: can I use the following percent deviation equation for the linear fit to compare between these 2 sets? $$ \%\text{ deviation} = \frac{\text{last point - first point...
So far as I understood kernels, they compute a dot product of the vectors $k(x_i,x_j) = \langle\phi(x_i),\phi(x_j)\rangle$ where $\phi$ goes from original lower dimensional space to a higher dimensional space. The most popular ones are the polynomial Kernel, the radial basis function kernel and the sigmoid kernel. Re...
I have two groups of curves that are clearly different. How I can calculate p-value? Green and blue curves is the average of about 10 curves from each group. The filled area is standard deviation. And the black curve at the bottom is the difference between average curves.
Define $X$ and $Y$ to be two exponential random variables. The probability distribution functions are $f_{X}(x)=\lambda e^{-\lambda x}$ and $f_{Y}(y)=\delta e^{-\delta y}$. Note that $X$ and $Y$ are independent. Define $Z=X +\frac{a Y}{Y+b}$, where $a$ and $b$ are some positive constants. My goal is to derive the CDF o...
This maybe a tough and confusing (the subject itself is confusing) question. I understand how forward pass works in a typical multi-layer CNN (with multiple convolution, pooling, and ReLU). How does the backward pass convolution work in CNN backpropagation? That is, loss is first calculated in the output layer and how...
I am working on computer vision, and have to optimize an objective function involves matrix $X$ and matrix $X$ is an orthogonal matrix. $$maximize \ \ f(X)$$ $$ s.t \ \ X^T X=I$$ Where $I$ is the unit matrix. I am reading some paper and they talked complicated terminology like optimization over Grassmanian manfiold,...
Suppose I have a training data-set A which is m x n, with samples arranged as rows, and I use singular value decomposition to find k principal directions defining a lower-rank space, k < n. The output of SVD, named by convention U, Σ, V gives me an approximation for my training set: A approximately equal to U Σ transpo...
I've been trying to get a feel for Q-learning and reinforcement learning in general by implementing the algorithms for simplified problems. I was able to get a Q-learning algorithm with TD($\lambda$) to work online using eligibility traces on a problem with a finite set of states and actions. Now I'm trying to apply Q-...
I have a problem with XOR learning. I have 2(inputs),2,1(output) neuron neural network with sigmoidal function and normal sets (0,0.9)->0.9 (0.9,0.9)->0.1 (0.9,0.1)->0.9 (0.1,0.1)->0.1 of learning sets, plus bias neuron with 1.0 output connected to hidden layer and output layer. Despite changing biased neuron output ...
I'm trying to do a hypothesis testing and the result I'm getting is strange because the p value I get is greater than 1. I'm using $p_0= 0.65$ and $\hat{p} = 0.60$. To calculate $Z$ I'm using $(0.60-0.65)/\sqrt{0.65(1-0.65)/50} = -0.74$ In the $Z$ table I get: $0.2296$ Then $(1-0.2296) * 2$ (*2 because its a two tailed...
I am interested in examining the relationship of X on Y. Both X and Y are continuous variables. I expect the relationship is linear. I know I can do a simple linear regression here, however I'm curious if I could do something a bit different to make a more informed inference. The Y values are themselves estimated param...
In the text on multiple regression I am reading, it gives an example of %BODYFAT as a function of HEIGHT and WAIST SIZE. It is a good example of a multiple regression because controlling for the variable of WAIST SIZE means HEIGHT has an effect on %BODYFAT. My question is why not run a regression of %BODYFAT on WAIST ...
Can anyone describe what is the the factor that make principal component analysis widely used for dimensional reduction?
My question is why we don't use least square to fit Generalized linear model parameters and instead always use maximum likelihood.
It seems to me that the alpha value is used behind both concepts. It is the cut off point where you determine whether to reject the null hypothesis or not. So why are there two names for the same concept?
I was going over a multinomial regression example from Faraway, "Extending the Linear Model with R Generalized Linear, Mixed Effects and Nonparametric Regression Models", book. R script of the example is as follows: library(faraway) # Multinomial Logistic Regression data(nes96) sPID <- nes96$PID levels(sPID) <- c("D...
For example, I have 3 different rankings for car brand quality: I don't have too much experience in this area, so this problme may seems rookie for most you here. I want to know if there is any good practice, algorithim related on comparing multiple rankings and extract insight from them? Specifically: 1. How should I...
I am currently working on an ARDL model: $$ e_t = \sum(e_t) + \sum(GDP_t) + \sum(t_t) + \epsilon_t $$ where $e$ is electricity demand, and $t$ is degree. Can someone outline the assumptions that the variables must satify in the ARDL model and tests for cheching these assumptions? I know that in this model the variables...
Suppose we have a sequence $Z_n$ of estimators with mean $\mu_n$ and variance $\sigma_n^2$. Suppose we know that there exist constants $a_n$ and $b_n(>0)$ such that $\dfrac{Z_n-a_n}{b_n}\to\mathcal N(0,1)$ in distribution. Then, is it true that $\dfrac{\sigma_n^2}{b_n^2}\to1$ and $\dfrac{\mu_n-a_n}{b_n}\to0$? Can you p...
I requires understanding and guide regarding how can I perform watch-list screening in face recognition. I have read this paper and this paper regarding watch-list screening face recognition. Based on 2nd paper, they use classification method as follow: Individual-specific decision thresholds are selected using the s...
I read the theory of Chi square test of independence and I am comfortable with the idea of expected counts and the reasoning behind calculating them the way they are. But what bothers me is the selection of Chi square distribution for getting the p-value. Why do we use the Chi square distribution as the distribution to...
I have $N$ well defined random variables (each with their average $\mu_i$ and standard deviation $\sigma_i$). The outcome of an experiment can be the value of one of the random variables. For each variable, I do know their probability $p_i$ of being selected. Is it possible to determine the standard deviation and the a...
Let's say, we have some product in an online store, which overall rating calculates by weighted average of the following sub-ratings left by customer: Quality ✮✮✮✮☆ Price ✮✮✮☆☆ Whatever ✮✮✮☆☆ The weight factors are: Quality - 50%, Price - 25%, Whatever - 25% Thus, the overall rating will be: 0.8 * 0.5 + 0.6 * 0.2...
I'm having some difficulty applying policy gradient to the simple OpenAI Gym environment CartPole-v0. This is a simple inverted pendulum where the agent receives a reward of 1 in every frame where the pendulum is within a threshold angle and position. Learning seems to start well, with the average reward per episode st...
I calculated this multinomial logit model using an effect coding (-1 0 1). The variable edu3 is the education level (3 categories), sex has of course 2 categories and eduM3 is the education of the mother in 3 categories. Parameter edu3 Estimate Pr*>*ChiSq Intercept 0 -1.6882 <.0001 Intercept 1 -0.2962 <.0001 sex 0 0 0...
I can understand higher the value of chi square more significant is the split, but cannot understand the formula used. Please explain intuitively.
I'm stuck on an exercise (it's not homework, but preparation for finals). It goes like this: $X_1, \dots, X_n$ are iid Exponential($\lambda$) (with parametrization $f(x)=\lambda e^{-\lambda x}$). What is the pdf $f(x_n|Y)$, where $Y=\sum_{i=1}^n X_i$? I know that $Y\sim Gamma(n, \lambda^{-1})$ with pdf $$ f(y)=\frac{...
I am not sure, but I guess model averaging and model combination and even forecast averaging and forecast combination are used arbitrarily in the literature... Is this only my feeling or indeed the case? Any reference?
I ran a regression where the dependent variable is winning (1=win) Given that my regression is probit I want to understand the coefficient. I've done margins, dydx() for my independent variable (average marginal effects). This yielded a result of -.41. What does this mean? Does it mean that the probability of winning ...
Why is it giving me a straight line whereas we can see that there is a pattern? Please tell me what I am doing wrong. I have build this model in python using statsmodel library. I want the forecast for the year 2017. But it is coming a straight line. I want to know why there are no fluctuations? The data given was wee...
I'm trying to understand the SVM algorithm but not able to understand what weight vector and bias is ? Could anyone explain it in laymen terms.
I am following a chapter on backprop derivation from the online book by Michael Nielsen In particular, following equation is derived in Chapter 2: ${∂C\over∂w^{l}_{jk}}=a^{l−1}_{k}δ^{l}_{j}$ Now, I am trying to implement this in a vector form. I assume that proper operation is the outer product of vectors: ${{∂C\over∂w...
Do you know any references providing arguments against model or forecast (models output) combination? Could not find anything
I am learning the bootstrap method, and reading Rao and Wu's (1988) classic paper "Resampling Inference with Complex Survey Data." On the section of "The Naive Bootstrap" (as the picture shown below), I found that I don't know how to derive Equation 2.3. I feel that that equation is fundamental to the so-called "Rao-Wu...
I am currently working on a class project, in which I need to identify groups of regions in my sample base on a regression tree. However, I am unfortunately not very familiar with regression trees in general, which is why I am a bit confused about their implementation in statistical software packages, such as R or MATL...
A friend of mine (mathematician) basically told me I shouldn't bother with matrix algebra and should focus on tensor analysis/manipulation. He said it's much more general and intuitive. I've been trying to grasp most of the matrix literature (Harville, Magnus, Gentle) due to its relevance to linear models. My question ...
I am comparing measurement instruments A and B to assess their agreement on measuring feature x. Measurements with A are cheap. I have made measurements on thousands of randomly selected objects with A, so I know the distribution of feature x in this large sample, and it's likely a good approximation to the distributio...
I have several measurements of trees over time (different vegetation indexes). Each measurement is in a different scale, some also include negative values (e.g. NDVI). I need to compare the variation in time of all measurements, using a single statistical measure. Coefficient of variation is not relevant because of neg...
suppose for a time series, the auto.arima output is: ARIMA(1,0,1) with non-zero mean Coefficients: ar1 ma1 intercept 0.7456 0.2775 767.7463 s.e. 0.0804 0.1197 0.1072 It is specified in help file of arima function that definition used for this function is X[t] = a[1]X[t-1] + … + a[p]X[t-p...
I am performing a simple linear regression with the lm() function to make statements about the association between the two variables. But I am not sure if my regression estimates and the t-test are correct due to the violations of assumptions (homoscedasticity and normal distribution of the error term) My regression mo...
I have to calculate the CI of the AUC (Roc) for a series of classifiers (e.g. Lasso, Random Forest, SVM) learned using the same test dataset, in order to identify the best model for this problem (prediction of a dichotomous variable). Considering the small size of the dataset, I used the less known but almost unbiased ...
We are collecting certain metrics using (Graphite + Grafana) use them as a tool to monitor system health and performance. For one of the latency metric, we get the total time as well as the latencies for all the sub-components it is composed of. We display 99th percentile for all the values. However, if we sum up the ...
I am using linear regression for a large set of data. I produce a set of weightings for each variable for the data set as a whole. The data however can be broken into subsets relating to different individuals who might have different weightings from the global set due to their different attributes. What I would like fr...
Is there any source when I can run through examples of the main econometric techniques worked out in a matrix form? (preferably in R). I tried to read the source code of functions like lm and lm.fit but it is not clear at all (source: stats::lm and stats::lm.fit). I am looking for something similar to the OLS explaine...
I'm trying to get to grips with multiple linear regression and partial regression plots. The answer to this question from @Silverfish really helped initially, so I had a go with my own data using Python's statsmodels: # OLS regression model = smf.ols('n_taxa ~ tn + toc + p50 + cv + revs_per_yr', data=df).fit() print m...
How can I calculate Cook's distance for lm.ridge objects? I first created a glmnet object and carried out ridge regression finding suitable shrinkage parameter. After that, I am calculating the beta values: object<-cv.glmnet(as.matrix(indp_data),response_data,type.measure = "mse") fit_lm<-MASS:::lm.ridge(formula,data,l...
If have a decision tree, say with two leaves, how do I calculate the total error? One can calculate the error for each leaf, but is the total error the sum of the errors or the product (or neither)?
Let $X\sim\mathcal N(0,1)$ be a normal random variable and $\alpha>1/2$. The $\alpha$ percentile of $X$ is usually denoted as $Z_\alpha$ and satisfies $\alpha = \int_{-\infty}^{Z_\alpha}\frac{1}{\sqrt{2\pi}}e^{\frac{-x^2}{2}}dx$. I need to bound $Z_\alpha$ (as a function of $\alpha$) for analysis of an algorithm. What...
I am thinking about p-values correction in case of multiple test. In general if the complex test 'contain' several simple test then probability of first type error increases. In this case I conclude that complex null hypothesis is rejected if at least one of the simple hyphothesis is rejected. To reduce 1-type error of...
The original model gives me an AIC of 75.43 and the Box-Cox transformed model gives me -189.2013. Does this me the Box-Cox transformed model is a much better model here?
(In the context of simple or multiple linear regression) Perhaps a very simple question to most of you. I know that if your sample size is large enough, despite your data not following a normal distribution, it would be viable to still compute the confidence interval due to the Central Limit Theorem. What I heard is th...
Is there a way to introduce weights in step AIC (R) (stepwise with Akaike criterion). For example, I would need to choose among many variables: FF<-as.formula(logPorcDeb~diaDesdePago) FFS<-as.formula(logPorcDeb~diaDesdePago+fl_1erdia+fl_2dodia+ flSab+flLun +flDpViernes+flGenteUltDias +....) norm...
I want to classify (newspaper) texts to classes like sports, technology or politics (7 classes). The current classifier is Logistic Regression. Therefore I've collect some features: Linguistic Features (19): like text length, avg. word length, sentence length, number of adjectives (divided by text length) etc. Word Fe...
I have hourly time series consumption data of four customers namely (F238, F262, F267, F264) for a complete month, plotted as Each line represents the consumption on a separate day. I want to find which among these customers is most stable/consistent in terms of repeating patterns across days and which among these is ...
I understand the output of the margins command gives the weighted average predicted probability at each value of a factor (averaged over the other confounders), but I am not clear what the p-value is referring to, that is, what is the null hypothesis being tested? If it reports 0.06 and 0.09 respectively for a two leve...
Given the below term definitions ..my question is: why is the logical negation (opposite) of a false negative not a true negative? This would imply 1-α=β, which does not have to be the case. And same for positives: I'd have thought that what is left after counting the false positives is the true positives. In other wo...
I would like to assess the goodness of fit of a logistic regression model I'm working on. I've done a lot of research and happened to find likelihood ratio test, chi-squared test, Hosmer and Lemeshow test and several R2 measures (like Nagelkerke R2, Cox and Snell R2 and Tjuf R2 measures) in order to assess the overall ...
The usual scenario for logistic regression is that the correct output label $y \in \mathbf{y}$ is provided for an input $\mathbf{x}$, and we maximize $P(\mathbf{y} = y | \mathbf{x}; \theta)$ I am dealing with a situation where the correct label is not always provided. Instead, I have definite information about (one of ...
From the Book"fundamentals of neural network", the input layer of a feedforward neural network has linear activation function. Elman recurrent NN is the same as a feedforward except that it has context layer. What should be the activation functions of each layer in an elman recurrent NN? I have searched for this answer...
When using $TD(\lambda)$ in a finite state-action space, the update looks like $$ \forall s,a \in S, A(Q(s, a) = Q(s, a) + \alpha \delta e_t(s, a))$$ where $$\delta = R + \gamma Q(s_{t + 1}, a_{t + 1}) - Q(s_t, a_t)$$ This process updates every state-action towards the delta between the observed TD(0) return and the cu...
Maybe this question depends on the given data, but is there a "better" bootstrap method than the others? I'm simply using a one variable dataset (that consists of the differences between football scores (2 teams) over the past 15 weeks).. First note the right skew of this data, I feel like this will take into consider...
I have a collection of $N$ different objects. An expert "looks" at the object $O_i$ and produces a prediction: binary label $y_i\in\{0,1\}$. The predicted binary label $y_i$ is observed (data) and is known to be noisy. Also, objects are of different complexity: an expert with poor "skill" will likely mislabel a work it...
Are there any papers pertaining to smoothness / regularity of functions that are approximated with artificial neural network?
How do I test the hypotheses: $H_0: |p_0 - p_1| < c $ vs. $H_1: |p_0 - p_1| \ge c $ for some constant $c$. Because sometimes we may want to adopt a new process only if it exceeds the current process by some threshold.
I've created a pymc poisson hierarchical model to forecast sports scores. If I use a smaller sample size of the season, say the first month, (10 games per team) versus using the entire season (100 games per team), the variance or spread between the mean of the strength of the individual teams (worst to first) is much w...
I am struggling to figure out how should I approach to decide the sample size for a pilot study. The pilot study will be funded so a proposal is required justifying the sample size. The study participants are patients from a city hospital which will be extended to multiple cities in the main study. Patients will be eva...
I have a machine that generates 16 character long sentences made up of (I think kinda) random letters. I can get it to spit out up to 1 million such sentences before I loose the ability to store them (as there will be too many by then). From the million, there is not a single duplicate sentence detected. They are all ...
I have made 4 clusters of movies based on imdb score, number of votes and gross profit. These are nice interpretable clusters with a BSS/TSS of 65%. Now I would like to use randomforest to predict in which of four clusters a movie belongs based on other characteristics of that movie. Is it wise to use 2 methods in this...
I am trying to find a solution to the decision boundary in QDA. The question was already asked and answered for LDA, and the solution provided by amoeba to compute this using the "standard Gaussian way" worked well. However, I am applying the same technique for a 2 class, 2 feature QDA and am having trouble. Would s...
I am trying to implement this tutorial Frequency-Domain Linear Regression https://www.mathworks.com/help/signal/ug/frequency-domain-linear-regression.html?requestedDomain=www.mathworks.com on my time series, but I don't understand part after first diagram, 3rdparagraph. There is sentence "Sampling the data monthly, the...
Both the terms "upsampling" and "transpose convolution" are used when you are doing "deconvolution" (<-- not a good term, but let me use it here). Originally, I thought that they mean the same thing, but it seems to me that they are different after I read these articles. can anyone please clarify? Transpose convolutio...
Assume a planet with a very very long year of $N$ days. There are 1 million aliens at a party in a room, and no one at all shares a birthday. What can be inferred about the size of $N$? (This more compact question supersedes this poorly phrased one.)
Say, $R_i$ $(i=1,2,\ldots,n)$ is a binary variable. I have an estimator $n^{-1}\sum_{i=1}^{n}(1-R_i)$. How can I show $n^{-1}\sum_{i=1}^{n}(1-R_i)$ converges in probability to $P(R_i=0)$? That is, $\lim_{n\to \infty}n^{-1}\sum_{i=1}^{n}(1-R_i)=?$ I know $\sum_{i=1}^{n}(1-R_i)P(1-R_i)=\mathbb E(1-R_i)$. But is $\lim_{n...
This is often shown as the setup and simple analysis for a difference-in-difference estimation. Lets say that the control series is significantly smaller than the treated series. Below this means the green line would be greatly shifted downward - but still similar trend as red (the primary assumption of d-i-d). Does th...
What's the best test and methodology to use for a scenario for an Email blast wherein I want to measure whether one or another segment group was more likely to Open?
I have weekly observations of the number of insects (1 1 5 8 13 7 8 8 9 8 2 2 1 1 1 1 0 0). My question is: even though the data is count data, it doesn't follow the Poisson distribution (as checked by means of K-S test), it mostly follows the Normal distribution. My question is: shall I...
Consider $X=X_r+jX_i$ to be a circularly symmetric Gaussian random variable, and $$X\sim\mathcal{N}_c(0,\sigma^2)$$ where $\mathcal{N_c}$ denotes the Gaussian distribution for complex random variable. Here $X_r$ and $X_i$ are the real and the imaginary parts of $X$. Due to circularly symmetry assumption (used in the s...
Problem Statement Let $X_1, X_2, ..., X_n$ be i.i.d. random variables from a normal distribution with mean $\mu$ and variance $1$. Find an unbiased estimator for $\tau(\mu):=P(X_1>0)$. Attempt at a Solution We can manipulate $\tau(\mu)$ to obtain that it is the cdf $\Phi$ of a standard normal by noting that \begin{ali...
I've only seen the Hosmer-Lemeshow test used for Logistic Regression. Why can't it be used for algorithm that produces probabilities for binary classification? All the Hosmer-Lemeshow test requires probabilities and binary labels. So, why hasn't it been used on models such as support vector machines, random forest, a...
In this lecture by Hastie and Tibshirani, it is mentioned that with case-control samples, we can estimate the logistic regression parameters accurately, but the intercept term is incorrect. It also gives a formula to correct the intercept term. Could you please mathematically explain why this happens? Additionally, cou...