instruction
stringlengths
9
38.7k
Suppose that you have $N$ people passing an exam having 2 type of questions (type A and type B) which all have correct/uncorrect outcomes. After seeing the results, I want to modelize the probability of success for one person for every type of questions (A and B) after he has answer a few of this questions already. I m...
I constructed a statistical test and compared its performances to a test that already exists in the literature. I found, after doing some simulations, that my test performs better when it comes to significance level ($\alpha$), but when I simulated the power ($1-\beta$), I found out that my test has less power than th...
I'm a programmer and I needed to do a Cronbach's alpha method to compute statistics. I tried to write a code but I got two values of alpha: library(psych) MyData <- read.csv(file="C://path//data.csv", header=TRUE, sep=",") alpha(MyData) The result was raw_alpha std.alpha G6(smc) average_r S/N ase mean sd 0...
I have a four-period panel dataset with quite a few variables in country aggregates. I am trying to answer two questions: Firstly, I need to identify variables which do the most to explain variation between countries. My plan here was: Run a cross sectional study on one period Run a pooled OLS on all periods with time...
I am quite new to time series analysis and I am currently working on improving a VAR model in R. The problem is that when I want to find out what number of lags is best (by using the criterions "AIC", "HQ", "SC" and "FPE"), all of the ICs are telling me to use lag=1. This is my code (I used "AIC" in this example, but a...
Generative Adversarial Networks are a new type of Adversarial Networks, introducing by "Goodfellow" in 2014. Usually implemented via DeepNNs and they are very powerful in generating "Realistic" outputs which can not be distinguished from a "Real" data. They are created from two main parts. a Generative and a Discrimin...
I have a dataset where the response variable is the amount of food left in a tray by the focal animal, in grams. Because of that, the response variable can only take values between 0 and 3 g, the amount of food offered. When we look at the graph of residuals x fitted, the residuals are not behaving like a rectangle par...
I have a some surveyed data and I want to do factor analysis for the same, especially exploratory factor analysis. So before that, I want to do make my data Normalisation? My Sample data as follows X1.1.a X1.1.b X1.1.c X1.1.d X1.1.e X1.1.f X1.1.g X1.1.h X1.2.a 1 2 4 3 3 5 5 3 ...
I am trying to conduct a research on brand preferences and I am trying to analyze regression equation i.e. which factors affects the consumer preferences (dependent factor) and other determined factors (independent variable). So my question is how to design a questionnaire to calculate the linear regression among these...
In cosmology it is well known that studying the bispectrum of the large scale structure of the universe is a powerful way to distinguish different models of cosmic initial conditions. I had assumed that the bispectrum had endless applications in many areas of science and data analysis more generally but when I tried to...
According to Karl Popper, only falsifiable hypotheses are truly scientific (quoting Wikipedia): no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive: it shows the theory, from which the implication is derived, to b...
I want to investigate whether post-crisis saving levels are the same as pre-crisis. I understand how I can perform the chow test for two subsamples, but how does it work for three? In other words, I know that I can test whether 2008 is a breakpoint for period 1 & 2. I can also test whether 2010 is a breakpoint between...
I need to replicate the following table using Stata: I generate $\mu$, $v$ and $y_0$ as $(N(0,1))$ for each T. Then I generate $y=\alpha*L.y+\mu+v$. I run "xtreg y L.y, fe", calculate the bias, and simulate this for 1000 replications. For some reason, I am able to get the same results as presented in the table for $\...
I have a 24 subjects and for each subject 3 operators generate a 3D Mesh. I then have 4 methods to assign a coordinate system to those 24x3 3D meshes, the results are 3 orthogonal vectors, so 9 dependent variables, by 3D mesh. All dependent variable are inferior to 1. The operators are always the same. The orientation ...
I have a density function $f(;\theta):{\mathbb R}\rightarrow{\mathbb R}_+$, where $\theta\in{\mathbb R}^d$. I know that there is a sufficient statistic $T$ of dimension $d$. If $\varphi_n$ is the characteristic function for a sample of size $n$, is it possible to create a grid $x_1,\dots,x_m$, $n > m\geq d$ such that $...
We have some data collected acquired from a complex setup, that is expected to come from a "fairly normal" underlying distribution. However when I investigate the data it appears that it's fairly heavy tailed compared to normal distribution, for all replicates. Here the density plots of different replicates are given...
How can I do Analysis of variation(ANOVA) and Response surface analysis for two factors on a 3 dimensional(17x3) input and corresponding 17x1 output data using MATLAB? If i could get required codes in MATLAB,it would be quite better.
This excellent paper covers a very interesting topic: collider stratificaiton bias. In short, lots of observational studies from medical literature have reported paradoxes such as obesity being protective of progression of osteoarthritis (even though obesity is a risk factor for osteoarthritis) and smoking being protec...
I am studying cycling rates along a street that recently received a bike lane. The data I have consists of 4 random samples of people intersected on the sidewalk. For each person, we know if they rode their bike to the retail strip. We have before and after samples in the case study area (bike lane added), as well as b...
I would like to use R to test whether the degree distribution of a network behave like a power-law with scale-free property. Nonetheless, I've read diferent people doing this in many different ways, and one confusing point is the input one should use in the model. I've for example read Barabasi recommending to fit the ...
Let the centered filter $\Theta (L)=\theta _{-m}L^m+...+\theta _{-2}L^2+\theta _{-1}L+\theta _{0}+\theta _{1}L^{-1}+\theta _{2}L^{-2}+...+\theta _{m}L^{-m}$ where $\theta _{-m}+...\theta _{-2}+\theta _{-1}+\theta _{0}+\theta _{1}+\theta _{2}+...+\theta _{m}=1$. Under what conditions this filter preserves a p-order tren...
I understand that you want to impute missing values separately for training, testing, and validation datasets because you don't want the testing or validation data to influence the training dataset. But if I use the caret package to do the following train_pre_obj <- preProcess(training, method = "knnImpute", k = 10) tr...
Consider $$q^{\backslash n}(\theta) = \mathcal{N}(\theta | m^{\backslash n},v^{\backslash n}I)$$ and $$f_n(\theta) = (1-w)\mathcal{N}(x_n | \theta,I) + w\mathcal{N}(x_n|0,aI)$$ Then let $$\hat{P}(\theta) = q^{\backslash n}(\theta)f_n(\theta) = (1-w)\mathcal{N}(x_n | m^{\backslash n},(v^{\backslash n}+1)I)\mathcal{N}(\t...
I want to apply machine learning and deep learning. I have categorical data on string. My first option was to perform dummy encoding on the columns (scikitlearn). But there are some columns that have thousands of categorical values, if i use dummy encoding, this will expand the dataset enormously. What other alternativ...
I'm using an xgboost model in R to calculate the probability of the New England Patriots wining a certain game. I have variables such as opposing team, previous record against the team, current season record, team-player configuration, time of day etc. Now, if I have probability of 40% winning against the Browns and 1...
Assume I have a x and y-matrix (input and outcome) as follows: x: facility gender ... | y: length_of_stay A M ... | 3 B F ... | 12 A F ... | 4 C M ... | 3 C F ... | 6 ...
In group-level analysis, I learned that stochastic effect can be generated by two source: measurement noise & individual difference. For example, because fMRI signal might be different because of not only noise during fMRI's mechanical process but also variability in individual's cerebrovascular structure, it would be...
Suppose We have a data set with millions rows and thousands columns and the task is binary classification. When we run a logistic regression model, the performance a lot better than expected, e.g, almost perfect classification. We suspect there are some cheating variables in data, how can I quickly detect it? Here che...
In generating logistic regressions for treatment-survival data, perfect separation is a problem in a few of my data sets. I've decided to use a Bayesian approach to account for the perfect separation Sources: (Gelman 2008) and this question. This approach also allows me to easily make predictions from the regression us...
as in "The motivation for developing this resampling-based procedure was an actual problem in meteorology, in which almost 2000 hypotheses are tested simultaneously using highly correlated test statistics". http://www.sciencedirect.com/science/article/pii/S0378375899000415 Can you give an example?
Why are so many efforts spent on estimation and comparison of mean, but not variance? For example, t-tests are used to comparing the population mean. When reporting the data, we usually describe the data as mean and its standard error. Why are not reporting the estimated variance and its uncertainty?
When I run the least absolute deviation regression using command 'lad' from the 'L1pack' package, I get the following result but cannot determine the significance levels for each coefficients. Call: lad(formula = co[, 12] ~ co[, 2] + co[, 3] + co[, 5] + co[, 7] + co[, 8] + co[, 9] + co[, 11] + co[, 2] * c...
I've just done a survey of 201 students and some staff at my College. The questionnaire asked respondents mostly about their opinions about the recycling facilities on campus and as well as their recycling attitudes and behaviors. However, the way I sampled was through convenience sampling, where I chose to give questi...
Reading a Mann-Whiteny table and the median lable is written as "Median(0-33)". What does that (0-33) mean?
Why is the t-distribution independent of the true variance of the underlying function? Intuitively I would not expect this to be true. Can anyone explain why this is true, using words rather than mathematical formulas? Here is an example of exactly what I mean: Consider 2 functions F and G. F returns values which are ...
I have a training dataset that consists of movies that have category labels. There can be more than one label assigned to a movie. For example: Movie: Finding Nemo; Labels: children, animation Movie: Beauty and the Beast; Labels: children, fairytale, animation Movie: Ella Enchanted; Labels: fairytale, live action I...
I am currently doing a bachelor thesis about why certain students at my university tend to binge drink. I have collected a dataset with 908 instances with both categorical and numerical values. The aim of the thesis is to identify which attributes that contribute the most to the classification of binge drinking. What ...
This is more of a question about my understanding of the concept; suppose we have a normal linear model $Y = X\boldsymbol{\beta}+\epsilon$, where $\epsilon \sim N(0,\sigma^{2}I_{n})$ and $\boldsymbol{\beta}$ is the vector of unknown parameters. When we estimate the unknown parameter $\boldsymbol{\beta}$ using the maxim...
This is a beginner level question, and I apologise in advance if the answer is obvious. If a by-subject random slope for a predictor "X" improves the model fit*, but the predictor "X" is not significant (with and without the by-subject random slope for predictor "X"), is there any point in adding the random slope for p...
I am using scikit-learn. I use the following to center the predictor features: X = sklearn.preprocessing.StandardScaler().fit_transform(X) I will use the following code to create the polynomial features: poly = PolynomialFeatures(degree=2) poly.fit_transform(X) My question is regarding if I should center the data ...
I am confused about how to evaluate this result. From this link, it seems like my model is just right, I just want to make sure that my result is a good fit. Any helps would be appreciated. Thanks! zoom:
Consider a feed-forward neural net with multiple input vectors $x_1, x_2, ..., x_N$ whose final output $y$ is differentiable with respect to those inputs. Assume the learned representations of each input are combined to produce the final output $y$ by addition. Suppose we remove the non-linear activations (and any othe...
Let $y_1$ = 'time spent sleeping per day' and $y_2 = $ 'time spent resting per day'. (Note: these are two distinct activities). Such responses were gathered from a group of animals. There are also other responses like $y_3 = $ 'hunting frequency'. The issue is now that about 20 % of the data set has $y_2 = 0$ almost a...
Have any sense, in order to solve a classification problem (only 2 possibles target classes) to create a new discrete column from a continuous one? For example, I have one column that is Age, that has integer numbers. I have created Age_Over variable with 2 possible values 1 or 0. Is it useful for use it in a machine ...
I would like to know how to interpret chi square and p values in GAM. As I understand p values basically tell us a story about the graphs - how low is the probability that there's just a straight line in the graph, eg. s()=0. Am I correct? But what about the chi square? For example, if I have variables with Chi squar...
Consider: $$X \sim \text{Gamma}(\alpha, \beta)$$ $$Y = \frac{1}{X+c}, \ c > 0$$ I am interested in $E(Y)$, which I'm pretty sure is intractable... $$E(Y) = \frac{\beta^\alpha}{\Gamma(\alpha)}\int_0^\infty \frac{x^{\alpha-1}e^{-\beta x}}{x+c} dx $$ If an exact analytic answer is unavailable, I would like to approximate ...
I'm trying to do a Kaggle competition and I started doing a first model with all the features and in the top 5 features I noticed that one in particular contains many missing values (but still in top 5). I had the idea to fill the missing values by trying to fit a classification model using the other features (apart f...
I need to obtain some sort of "average" among a list of variances, but have trouble coming up with a reasonable solution. There is an interesting discussion about the differences among the three Pythagorean means (arithmetic, geometric, and harmonic) in this thread; however, I still don't feel any of them would be a go...
I'm sorry if this question is vague: I don't yet understand stats terminology very well. Let's say I am interested in a measurement X. Imagine it is neuron diameter. I want to know if brain regions A, and B differ in average neuron diameter. I have 100s of measurements of neuron diameters sampled from regions A and B ...
I have the following data set and would like to know how I can find an arrival distribution that best matches the data set. To clarify the data below - from Train 1, 173 passengers reached the queue between 0-15 min, it took 16-30 min for 308 passengers from the same train to reached the queue, etc. Any help is greatl...
Can I conclude I have outliers when no coefficients are significant but f-test is significant in the linear regression? Call: lm(formula = co[, 12] ~ co[, 2] + co[, 3] + co[, 5] + co[, 7] + co[, 8] + co[, 9] + co[, 11] + co[, 2] * co[, 11]) Residuals: Min 1Q Median 3Q Max -5.0542 -...
I would like to approximate the solution to the following regression model with MCMC methods, as it can the be the core for solving more complex bayesian problems later on. $$ U = Y - ZB $$ $$ U \ \sim \ \mathcal{MN}_{T \times K} (0,I,\Sigma) $$ I guess I would need to sample the distribution of the coefficient matrix ...
By "statistical difference" I mean literally any difference between the two of statistical import, beyond of course the notation or words used.
Consider a regression of the form $$ y = a + bX + \gamma D + e $$ Where $D = \{0,1\}$ is a dummy variable and we are interested in detecting if $\gamma \neq 0$. If in fact $\gamma \neq 0$, then the likelihood of committing a Type II error (failure to reject $H_0: \gamma = 0$) increases as the correlation between $D$ an...
I am trying to reproduce the results of https://arxiv.org/abs/1202.2745 that is using a Deep Convolutional Neural Network architecture for image classification. Convolutional layer L2 (all 20 maps) is fully connected to L3 (to all 40 maps) via 800 filters. Do you know how to model this in Keras or TensorFlow?
I am studying for an exam and have come across this problem: Let the random variables $X$ and $Y$ have the joint pmf: $f_{XY}(x,y)={2\over{n(n+1)}}$ for $y=1, . . . , x$; $x=1, . . . , n$ Find the marginal pmf of $f_Y(y)$. Normally I have no problem finding these, but this seems to have a dependence in the support that...
From the question below, I require a regression model for the first part. To get the coefficients of regression, I used the correlation provided and the standard deviations to compute the co-variance.I then computed the slope by dividing the Co-variance with the variance of the independent variable. To compute the cons...
We are trying to come up with a prediction model for one our products in our team. We did some feature engineering to extract relevant features. Now we are trying to see which ML methodology would give us the best result. We started with Logistic Regression and SVM. We expected SVM to perform better than Logistic Regre...
My question will be less informative because right now I myself don't know where I am heading. Basically I want to know that whether it is possible to think a chi-square minimization problem as a calculus of variation problem.
I have a dataset which I would like to use to train SVM models. The dataset contains binary variables as well as variables that are in the range [0,1] (i.e. they represent proportions calculated by dividing a ratio-type of measurement by another ratio-type of measurement). Since the values of all variables/features fal...
I have an iid random sample $Y=(y_1,...y_N)$ with $p(y_i|\theta) = \theta^{y_i}(1-\theta)^{y_i}$ if $0\leq y_i \leq1$ and $0$ otherwise. The prior is \begin{equation} \frac{\Gamma(\alpha+\beta)}{\Gamma(\alpha)\Gamma(\beta)}\theta^{\alpha-1}(1-\theta)^{\beta-1} \quad \text{if} \quad 0 < \theta <1 \end{equation} and $0$...
My sample size is in the test group=11 and control group=19. I'd like to compare if there is a difference in hair cortisol concentrations (continuous variable). My main question is whether to use t-test with log transformed values or u-test with initial values. The data is highly positively skewed and log transformatio...
I have two set $A$ and $B$ with $C = A \cap B$. Given are the sizes (finite) $|A|,|B|$ but not $|C|$. I have random sample from $A \cup B$ where for every $x \in A \cup B$ I know whether is in $A, B$ solely or in $C$. I want to understand the size of $C$ from the sample. What are the assumption I need on $A,B,C$? Is t...
We know that sufficient statistic is not necessarily minimal. For example, consider a random sample $X_1,\cdots,X_n \sim \text{Bernoulli}(\theta) $. It can be shown easily that both $T'(X_1,\cdots,X_n) = (X_1,\cdots,X_n)$ and $T(X_1,\cdots,X_n) = \sum_{i=1}^n X_i$ are sufficient statistic. However, $T'$ is not minimal....
How can I compare mean of subpopulation with mean of entire population? I want to compare mean of specific method with mean of all methods in a proficiency testing(PT) program. A PT program is a program in which an organisation which executes PT, sends samples to multiple participants and ask them to measure some chara...
In the paper of Blanchard and Quah (1989), they estimate the impact of demand shock on delta(real GDP). And from that they could estimate the impact of demand shock on real GDP (which is output gap). But they didn't show clearly how they move from delta(realGDP) to real GDP. Can you help me with this question? Many tha...
My variable represents the outcome of a mock-election, between three different parties(so categorical). My hypothesis is that with the information presented to the subjects, a majority will vote for party A. A simple frequency table shows that indeed most subjects (75 percent) voted for party A. Does this confirm my hy...
I have just received the results from a quesionnaire I did where some of the questions were in likert scale, 1 (Strong agree) to 5 (Strongly disagree), with Neutral in the middle. I would like to know if it would make any difference to my results if I set the data as nominal rather than ordinal as I've seen most peop...
how to deal with missing data in least square support vector machine ( LSSVM )? I am using matlab I am pretty new in machine learning and I use the breast cancer database (from UCI repository) there is missing data (?) how to deal with this in classfication problem using LSSVM( least square support vector machine).
"Most applications of the SOM are based on regular arrays of nodes. Sometimes one uses rectangular arrays of nodes for simplicity. However, the hexagonal arrays are visually much more illustrative and accurate, and are recommended. Whatever regular architectures are used, it is advisable to select the lengths of the ho...
I have seen that some people are talking about "factor loadings" in PCA. It is a topic that I do not manage to understand, despite some googling. I managed to obtain some code that generates the following plot (for 9 different "elements"). But I cannot interpret the results.
A response $y$ has been measured using 25 electronic devices. For 8 of them, the response was heavily flawed. It was usually equal to a third of the response measured from the other devices. So, I removed them and did my main analysis. I then thought, could I use the data from the other 8 responses (i.e., the covariat...
Let Let Correlation Coefficient between $x$ and $y$ be $R$ and between $x$ and $\begin{Bmatrix} y+x \end{Bmatrix}$ be $S$ , then a) $R<S$ b) $R>S$ c)$R=S$ d) None of the above The correct answer is none of the above, can anyone explain why? , then
I want to find Yule-Walker equations for a causal ARMA(1,1)-process $Y_t=\alpha Y_{t-1}+\epsilon_t+\theta\epsilon_{t-1}$. My idea initially was to first multiply both sides by $Y_{t-1}$, so I would get $\gamma_0=\alpha\gamma_1+\epsilon_t Y_t+\theta\epsilon_{t-1}Y_t$, where $\gamma_0$ is the variance and $\gamma_1$ i...
Some background: I am studying the immune system. This is the defense the body has to protect itself from pathogens like bacteria and viruses. The main cells involved are commonly known as white blood cells. What we measure: We generally measure the strength of people’s immune response. We do this by: taking a vial...
I have a dataset that contains 292 attributes. I want to calculate VIF to address multicollinearity in dataset. Here is a snippet which I have used to calculate VIF from statsmodels.stats.outliers_influence import variance_inflation_factor def calculate_vif_(X): variables = list(X.columns) vif = {variable:var...
I have stock data of a clothing company. Objective: Select which SKUs are most likely to be sold according to: Quantity per size per SKU Quantity distribution per size per SKU ( I prefer to have many "Medium" size, and less XXS or XXL) I want a single measure to rank multiples SKU to choose which best fits a standa...
Fundamental question When you do PCA (or any dimensionality reduction), what is "the number of dimensions"? I always thought that the thing you measure (ie, the variable) is the number of dimensions: eg, if you measure the length, width, height of a box, that's 3 dimensions (3 variables); if you measure the abundance o...
For example, in generative adversarial network, we often hear that inference is easy because the conditional distribution of x given latent variable z is 'tractable'. Also, I read somewhere that Boltzmann machine and variational autoencoder is used where the posterior distribution is not tractable so some sort of appro...
I was trying to understand how the contributions of Residual Nets differed from batch normalization. I have read both papers but its still not clear to me. As far as I can tell batch normalization essentially solved the issue of vanishing and exploding gradients. However, intuitively for me it seems that in principle t...
I am very confused about Dickey-Fuller Unit Root Test. According to my understanding; able to test existince of an unit root, exact data generating mechanism(not the parameter values of course, but the form of the model) be known or we must have a well approximation to the exact DGM. After testing the unit root; If ...
I was trying to understand how the calculations are done behind lm() function in R using mtcars dataset. I understand that lm() function minimizes the sum of the squared residuals to get the best fit line. Now the summary() done on that fit gives coefficient which includes: the intercept, slope, standard error, t-stati...
In an experiment, in addition to the assignment for every experimental unit, you also know the identity of some of the compliers, but not all. How to use this information to estimate the causal effect of the treatment on the compliers? and how about the average treatment effect?
I want to implement a Recurrent Neural Newtork (RNN) and use it for a classification task. I can handle a Feed Forward Neural Network and I followed this blog tutorial to learn more about the implementation of a RNN. My main concern is about the dimension of $x_t$ because the tutorial encodes words in one-hot vectors, ...
This has always perplexed me and I haven't been able to find helpful resources online. So I'm working with image analysis and wonder if there are any rule of thumbs for setting up a CNN depending on what you plan to accomplish. You have the MNIST dataset which works well with 2Conv2FC layers. Then you could attempt t...
For financial timeseries, should the seasonality trend (extracted through timeseries decomposition) changes over time as more data becomes available?
For an image pixel classification task (a pixel can be either class 1 or class 0), I am fitting a logistic regression model using six features related to a specific pixel's color space properties (red channel, green channel, blue channel, hue, etc). I am interested in learning how to incorporate prior information (in t...
I've been having some troubles interpreting my residual plot to check the assumptions for multiple linear regression. I've checked for independence by calculating Durbin Watson and I've checked for collinearity, both okay. However, my residual plot looks very strange to me, and I think it's because my dependent variabl...
Can anyone tell me if the the multiple comparison of Kruskal Wallis test in R Agricolae package is a specific post hoc test? How does it work? If it is a specific post hoc test, what is it? Could anyone recommend me literature? Thank you!
I am trying to use the least absolute deviation regression from my dataset which has one column of dependent variable and multiple columns of independent variables. I tried using the following syntax but get errors where the 'co' contains the dataset and the 12th column is my dependent variable: co_reg1=lad(co[,12]~co...
We've gone over this concept in my class a couple of times, and it still isn't clicking. Could someone please prove this statement: The ideal bootstrap standard error of the mean $$se_\infty(\bar{x})$$ (The standard error of bootstrap resampled means, where the number of bootstrap samples $B=\infty$), is equivalent to ...
Expected Prediction Error in a linear model is defined as follows: $E[\sum_i (y^*_i-\hat{y_i})^2] = E[\sum_i (y_i-\hat{y_i})^2] + 2\sum_i Cov(y_i,\hat{y_i})$ where $y_i$ are the training values, and $y^*_i$ are the test values (Proof Efron (1986)). Now if we consider a linear regression setting, based on the above equa...
I need to do PCA and Factor analysis. All of the authors of such study used normally distributed dataset for their study. But may Dataset of 173 samples with 17 variables show non-normal distribution. However, I have applied each of the square, square root, and Log transformation methods for the whole dataset but they ...
There is a chapter on the Kruskal-Wallis (KW) test on the website influentianl points, and there are some quotes I'm not sure I understand correctly: Quote 1: Some authors state unambiguously that there are no distributional assumptions, others that the homogeneity of variances assumption applies [...] If you ...
If $$ \mathbf{X} = (X_1,..,X_n)^t$$ is a random variable drawn according to a probability density function (pdf) $$ f_{X_1,...,X_n}(x_1,...,x_n) $$ then $$ \mathbf{Y} = A\mathbf{X} = (Y_1,..,Y_n)^t$$ with $A$ a square non-singular matrix, has a pdf given by: $$ f_{Y_1,...,Y_n}(y_1,...,y_n)=\frac{f_\mathbf{X}(A^{-1} \ma...
I have a binary classification set with about 900 samples. I first use kfold cross validation and AUC of the ROC curve to determine which classifiers perform best. Once I've done that, I use a leave-one-group out approach for additional metrics. In my dataset, the data is collected among 32 groups. Groups within my s...
I built the multiple regression about birth weight with independent variables with gestation, age(mom's), wt1(mom's weight), so on.. but it appears that gestation is not as important as something like race, and ht(mom's height). Is this right? or did I do something wrong about it. m <- lm(wt ~., data=babies) summary(m)...
I used Excel to calculate the confidence interval on a predicted value, at 95% confidence interval, so to calculate t-value I used function TINV(5%,6) thats a 2.5% and 2.5% split on each side, where 6 is degree of freedom. But in R, the predict function, when I give level= 0.95, I get a different interval range, howeve...
I'm working on developing a confidence interval for classification predictions. Let's say the model I'm working on predicts whether a person defaults on a loan. I want to develop a confidence interval for the sum of people who I predict to default. Running the model several times would take too much time, so I was look...
I am working on a project where I need to analyze the relationship between two variables (correlation, regression, anything that helps to understand what is the nature of the relationship). From the following source I understood I should first calculate skewness and if the skewness value is over +- 0.5 I should take th...