instruction
stringlengths
9
38.7k
I am calculating Cohen's d and 95% CIs for a within subjects t-test. Cumming's ESCI calculator only estimates the 95% CIs for Cohen's d when df < 200. Is there a theoretical / statistical reason for this limit on the df? Any guidance much appreciated.
I am trying to compute likelihood scores to measure the relative predictive accuracy of different hyperparameterisations of a complex statistical model against a set of discrete data. The model is a simulated Markov process with transitional probabilities estimated from data. For some states I have very little or no tr...
I'm trying to solve Exercise 18.3 of "Elements of Statistical learning" by Hastie et al. and I'd be really grateful for any hints. Show that the fitted coefficients for the regularized multiclass logistic Regression Problem $$\max_{\{\beta_{0k},\beta_{k}\}_{1}^{K}}\left[\sum\limits_{i=1}^{N}logPr(g_{i}| x_i)-\frac{\la...
I'm trying to implement a neural network in sklearn. I'm using stochastic gradient descent ('sgd') as the solver, an activation function of 'tanh' and all other values as the default ones provided by the library. I'm varying the value of hidden_layer_size from (10,1) to (100, 30) and noting the f1 score returned by 10...
I'm now doing a project about spatial hotspot analysis. I read many literatures, however, I can't find any papers tell how they determine the data size they used. I mean, suppose we have crime location data, in some small cities, maybe our data size is relatively small. Under this condition, is our hotspots reliable? I...
My dataset comprises 130 instances of sudden unexpected clinical deterioration across 100 hospital inpatients. Time series data for 12 physiological features measured at typically 1-4 hourly intervals are available for 48 hours prior to each instance. A separate time series of clinical events (seizures) occuring over t...
I know this sort of question has been asked many times, and several answers have been already provided on this platform too (e.g., here, here, and here). Still, there is something about the idea behind nested cross validation that I don't quite get. Let me first start with the problem setting, which by the way I think ...
If someone can explain how does Maximum Likelihood Estimation come into play while binary classification using Logistic Regression ! Thanks
So im reading through this link on Neural Nets and regression and on this page the part about back propagation which reads: To perform backpropagation and make the network learn, you simply compare ŷ to the ground-truth value of y and adjust the weights and biases of the network until error is minimized, much as you w...
Can anyone provide a good derivation of the FD rule? Or explain why it is a good way to define the bin widths of a histogram. Are there any other similar rules and how do they compare?
How do I get the p-value for the last level in a categorical variable from a linear regression model in R when contrast is set to contr.sum set.seed(1) x = rep(c('a', 'b', 'c'), c(10, 10, 10)) y = c(runif(10, 1, 2), runif(10, 2, 3), runif(10, 3, 4)) m = lm(y ~ x, contrasts = list(x = contr.sum)) summary(m) # Call: # ...
I have two groups of people: 210 people in 2014. 40 of which required an intervention. A change was made to try and reduce intervention. Then we rechecked: 313 people in 2016. 10 of which required the intervention. I can see from this that there is a significant decrease in the number of interventions needed. 10 out of...
I have two related questions. Question 1: Let $k_1, \ldots k_n$ be positive integers, and $\alpha_1, \ldots \alpha_n \in (0,1)$ be such that $\sum_{j \leq n} \alpha_j = 1$. Suppose $\langle X_m \rangle_{n \in \mathbb{N}}$ is an iid sequence of random variables such that each $X_i$ takes the value $k_j$ with probabilit...
Python's scikit-learn package has a convenient pipe function that can combine machine learning techniques into one model with fitting and predicting functions. I was following this tutorial for chaining PCA and logistic regression and everything works as expected but I am having trouble describing this in terms of math...
I have read several tutorials on training an autoencoder that can then be combined with a classification layer (e.g. softmax layer) for learning a classifier model. I am trying to build this in keras but I am getting blocked on the part where I take my trained encoder layer that learned a compressed mapping of my inpu...
According to this source, Akaike's Information Criterion can. be defined as: $AIC = N \log(\frac{SSE}{N}) +2(k+2)$ with SSE the sum of the squared errors, and k the number of parameters in the model. The first part looks like a loss function, so it seems that minimizing AIC means minimizing the loss as well as the co...
I am looking at hourly weather temperature data. I am assuming that they are normally distributed. I am calculating the rolling means, standard deviations and autocorrelations. Given the above, I am looking to calculate the following conditional probability: P(temperature <= temperature2, at time2 | temperature = temp...
I am a newbie in machine learning. I have a dataset and I have split them into 2 parts include 80% of data for training whereas 20% for testing. After training and validation I have some results as follow: I have tried to predict with the final models on testing data and the results as follow: So, which model is the...
I have been reading the proof of the following theorem. I do not understand the beginning of the proof. How do we get from (7.3.5) to (7.3.6)? Technically speaking, all the terms involved are random variables, presumably defined on some sample space $\Omega$. Apparently (7.3.5) holds for all $\omega\in \Omega$. Howe...
In my book about machine learning the concept of a validation set is introduced. It's a subset of the training set that is used to "train" the hyperparameters. More specifically, the validation set is used to estimate the generalisation error during or after training, allowing the hyperparameters to be updated accordin...
In Decision Tree, splitting criterion methods are applied say information gain to split the current tree node to built a decision tree, but in many machine learning problems, normally there is a cost/loss function to be minimised to get the best parameters. My question is how to define such a cost function of Decision...
I'd like to use KNN to build a classifier in R. I'd like to use various K numbers using 5 fold CV each time - how would I report the accuracy for each value of K (KNN). I'm using the knn() function in R - I've also been using caret so I can use traincontrol(), but I'm confused about how to do this? I know I haven't inc...
I am trying to fit an exponential decay function to y-values that become negative at high x-values, but am unable to configure my nls function correctly. Aim I am interested in the slope of the decay function ($\lambda$ according to some sources). How I get this slope is not important, but the model should fit my data...
Recent research have forced me to do a lot of reading on the different type of sum of squares (SS) when performing ANOVA in R. I have successfully done type 2 and type 3 SS ANOVA on single models using several different packages. However, I now need to perform ANCOVA. I need to compare two different models using the "a...
I believe my question might be quiet easy for you to answer. I tried to do some research on that topic myself but failed to come to a conclusion. If I understood correctly, Bonferroni correction is used for repeated pairwise comparison within a dataset. My question is, if that applies for my data. I measured the numb...
I have been working with perfect separation in logistic regression, and I have been assessing models with the AUC statistic. I was wondering what effect perfect separation has on the AUC. My own understanding is that perfect separation via inflated coefficients will reduce the AUC because it results in a lowering of th...
Assume a Poisson process with rate $\lambda$. Let $T_{1}$,$T_{2}$,$T_{3}$,.... be the time until the first, second, third,......(so on) arrivals following exponential distribution. If I consider the fixed time interval $[0-T]$, WHAT is the expectation value of the arrival time $T_{1}$,$T_{2}$,$T_{3}$???,....... i.e. ...
I am validating a credit risk model. I did a k fold validation to check the stability of the estimates. The estimates of the model are quite stable but the variables now have a high P value(above 0.1) in the 5 folds that were created. The variables had a very low P-value during development. Can i question the model dev...
I'm practicing with VAEs for generative purpose, and from what I understood we need the latent variable $z$ to approximate a distribution, usually the standard normal $N(0, I)$. In any example I could find we use $z \sim N(\mu(h;\theta), \Sigma(h;\theta))$ where $\theta$ are the optimization parameters and $h$ is the e...
In regression analysis, one year increase in age is associated with Exp(0.034) / 1.034 increase in odds of death. The question is when there is a 10 year age difference what is the odds ratio and confidence intervals. Am i correct in multiplying 0.034 by 10 to give a log odds of 0.34 and the exponential of this giving...
During my thesis work I collected some measurements about chest compressions that reached a good depth (binomial data) during cardiopulmonary rescuscitaion (CPR), I have two groupes of volunteers and each volunteer performed a number unequal of chest compressions with the use or not of a device. In other word,I have tw...
I have a dataset which contains Retention (DV) and Customer Satisfaction data (IV, 7 variables, scale 1-10) for 55000 observations. Now I want to know which increase in number has the biggest impact on retention. > e.g. In the Netherlands it's likely to assume that the difference between a 5 (insufficient) and 6 (suffi...
I have a simple model, where two variables, $A$ and $B$ both cause $y$. However, $A$ also causes $B$. The standard way to account for this (in a linear regression setting) is an interaction term, fitting something like $$y = \beta_1 A + \beta_2 B + \beta_3 A B + \beta_4 $$ to my data. However, the interaction term is ...
I came across a Machine Learning exam question regarding the difference between the Frequentist and Bayesian approach to classification; it specifically asked what condition must be met for the two to be equivalent. Formulating a mathematical answer isn't too tricky. Our hypothesis is that an observation $X$ from our ...
I am presenting an analysis in which I performed a number of tests for N variables. The variables which are significant at q < 0.05 are presented in a table (q is the Benjamini-Hochberg corrected p-value) along their q-value. A colleague argues that since we are only presenting a few variables, one should show the actu...
Can I compute Odds ratio coefficients and their 95% CI from a Poisson regression (GLM) using the exp function? I have an ordinal dependent variable (i.e., a GS of a scale) and some independent variables which are either categorial or continuous (e.g., Age, Presence/absence of hypertension ...). For each variable, in R,...
So we are at a state where $\partial B^TΛΒ / \partial B = 0$ Trying to solve it using formula (53) of Matrix Cookbook. We derive that B = 0 Is this correct ?? To give you some context we are trying to solve Expectation-Maximization for Gaussian Mixture Models from scratch. That's why Λ = Σ^-1 and B = x - μ
I have a data set that includes seven patients. Each patient is administered one of two different treatment modalities over follow-up. Several metrics were calculated at each visit, and I now wish to compare these. Patients attended a baseline visit, then 6 weekly follow-up visits. So each patient has 7 repeated measur...
I've got two data sets, one is "expected transaction" another is "actual transactions" It's something similar to the following EXPECTED (generated on december 4th) uniqueID | expectedPayDate | payerName | paymentAmount 1324 | 20171215 | cutco | 100.00 5678 | 20171215 | edgecom ...
What exactly does Cook's distance measure? And how is this different from what hat values measure? I know hat values measure how distant a point it form its corresponding fitted point. I also know Cook's distance measures the influence of a point (whether it changes the fitted line) but what exactly does it measure? I ...
The derivation of the prediction interval for the linear model is quite simple: Obtaining a formula for prediction limits in a linear model . How to derive the confidence and prediction intervals for the fitted values of the logit and probit regressions (and GLMs in general)?
I made a degradation test using 4 different chemical treatments as time function. How can I know if there are significative differences between the treatments considering that they are as a time function? Or if they have the same behaviour? library(ggplot2) Days <- 0:7 Treatment1 <- c(0.000, 67.190, 78.227, 90.841, 8...
If I have two different symmetric (with respect to the median) distributions $X$ and $Y$, is the difference $X-Y$ also a symmetric (with respect to the median) distribution?
I am using the R partykit package to do recursive partitioning of linear regression models and am having trouble understanding how I should expect observation weights to affect the parameter instability tests that are used to determine which variable to split on. A key point of confusion is why the scale of the weights...
Let’s say we have the input (predictor) and output (response) data points A, B, C, D, E and we want to fit a line through the points. This is a simple problem to illustrate the question, but can be extended to higher dimensions as well. Problem Statement The current best fit or hypothesis is represented by the black l...
The upper bound of Stata's $matsize$ is 11.000. I need to 'manually' compute my variance-covariance matrix for a data set with 300k observations. Thus, I'm wondering, how does Stata internally compute something like OLS: $$(X'X)^{-1} X' y$$ when $X$ is that large? How can I manually do something similar?
Setup: We consider a multiple choice test with 30 questions, each consisting of four potential answers. We know that (on average) neighbors answer 50% of all questions jointly correct. Assumption: Let us assume that students pick randomly answers if they do not know the solution. Question: How can we calculate the (exp...
My response variable is a proportion of time spent in an activity. My original dataset looks like this: name jdate start duration touristeffort feeding fp 1 ANUBIS 24 11.23333 20.00000 9.483333 16.683333 N 2 ANUBIS 26 15.53333 20.00000 2.466667 9.716667 N 3 ANUBIS 27 ...
I have 3 independent variables (Mined area, Reclamation age and reclaimed forest area) and 1 observed variable (conductivity). I ran multiple regression analysis with spss but I am not sure how to interpret the results. - I have standard error 236.175 is it too high? - On coefficient section RF(reclaimed forest) an...
I want to investigate if there is an interaction between "Group" and "Type" in my data. Type consists of "verbs" and "circumstantial information". "QCorrect" is performance. Why does the model split Type up into verbs and circum (it is not supposed to do that)? Furthermore, what is the intercept? I1 = lmer(Qcorrect ...
Perhaps a naive question, but consider this sort of dataset: x1 x2 y 2 11 0 2.5 22 1 4 16 1 5.4 27 1 2.2 9 0 7.2 29 0 15.1 30 0 16.5 40 0 18.4 32 1 clearly binary classification problem! why wouldn't you use Linear Regression instead, each y_pred (range [0,1]) interpreted as probability of users...
The time between events in a Poisson process is described by the pdf $f(t; T_0)=\frac{1}{T_0}e^{-t/T_0}$. I'm interested in estimating how long we would have to observe this process before we see two events separated by at least a specified time $T_{min}$. In other words, how long do I need to observe the process befo...
I was wondering if there are any ways of modelling a regression with heteroscedastic normal errors in conjugate form using Bayesian Linear regression. I.e., is there a conjugate form for the model \begin{align} Y_{i} &= X_i\beta + \varepsilon_i \\ \varepsilon_i & \sim \mathcal{N}(0, \sigma_i), \end{align} where $\sig...
I have three variables which impact my output, however, I want to statistically establish weightage of each variable in determining/influencing the output. I have significant data points for the three variables that can be plotted. Output = x* V1 + y* V2 + z* V3. Here, I want to determine x, y and z. Can you suggest w...
Suppose that for all $t\in\mathbb{Z}$, the distribution of $x_t|x_{t-1},x_{t-2},\dots$ has probability density function $f(x_t|x_{t-1})$, where $x_t,x_{t-1}\in\mathbb{R}^n$. Suppose further that the unconditional (stationary) distribution of $x_t$ is that of a standard $n$-dimensional Gaussian distribution (i.e. mean z...
I'm trying to understand the concept of consistency in point estimation. Could somebody give me an illustrative example of a (simply) consistent estimator that is not MSE consistent? Just a recall of definitions and theorems (I hope I have them right): $\hat{\theta}_m$ is simply consistent estimator of parameter $\the...
so i am proposing to conduct a study on indirect contact as an intervention for stigma reduction in a police population. My IV is the intervention with two levels (intervention group and control group) and my DV's are a attitudinal measure, intergroup anger and a behavioural measure. I will be conducting a pre - post...
Deep learning is an increasingly hot topic nowadays. What are the main assumptions that render deep learning lacking in some data sets. Ex: Does it perform well on noisy data sets ?
I'm an experimental physicist by training and have used standard statistical methods to analyze data, and the design of experiments (DOE) framework to develop models of systems by varying inputs and measurement outputs. Recently, I've been looking into the use of machine learning and I'm trying to figure if there's any...
I would like to train a simple Artificial Neural Network implementing an algorithm of the class of limited-memory Quasi-Newton. I read the paper Modified quasi-Newton methods for training neural networks where they train a NN using the BFGS formula. They also proposed to compute the Hessian by layer (BFGS-L), by neuro...
Let $F$ be a convex function. If $Y$ and $Z$ are independent random variables and $EZ=0$, then $$EF(Y) = EF(Y+EZ)\leq E(Y+Z).$$ I fail to understand why the last inequality is true. Can someone explain how this comes from Jensen's? Taken from page 2 in this paper.
I am trying to extract a real valued sequence from a larger sequence. For example, a function generates a sequence by doubling the previous value: 1.1, 2.2, 4.4, 8.8 Currently I have trained a LSTM classifier that classifies a sequence based on the trained model of a function: 1.1, 2.2, 4.4, 8.8 = ...
I am reading the PyTorch documentation on using LSTM to classify names with a character-level RNN and generating names with a character-level RNN. In the examples they show, the network's hidden_size is set to 128. Why is that? How do they know that 128 makes the learning work? In general, is there a guiding principle ...
Let us say we observed one event on 1 Jan 2005, and we were observing the events since 2000. What's the best estimate of Poisson distribution? One approach is to set intensity $\lambda=1/18$ per year. This is a Poisson MLE estimate, since we had 18 years passed and only one event observed. Another approach seems to be...
Suppose that I have a Hidden Markov Model and want to estimate the probability of a sequence of observations. Furthermore, not only do I wish to know the total probability of the sequence, but I want to be able to analyze the probability at every single time step. How can I combine the Forward Algorithm and the Backwar...
I am attempting to perform an analysis of a bipolar scale response to a question such as the one below: How much detail did the textbook provide? Too little detail Somewhat too little detail Just the right amount of detail Somewhat too much detail Too much detail Is there a problem using standard linear regression fo...
I am trying to understand the unbalanced case of 1 way Anova. Suppose there are 3 groups of different sizes for the single factor say A. Then the overall mean is the WEIGHTED average of the means of the 3 groups. The one way anova then tests if the between group sum of squares where the mean of each group is compared w...
Consider a linear model $y_n = \beta x_n + v_n$ where $n$ represents the time index, $x$ is the input data source $\hat{\beta}_{OLS} = (X^TX)^{-1}X^Ty$ is the ordinary least square estimate of the parameter $\beta$. This parameter is obtained assuming the distribution of the observation $y$ is $i.i.d$ Gaussian. Consi...
What is the significance of finding the posterior mean, posterior mode and posterior variance in Dirichlet - multinomial conjugate pair Bayesian estimation? Are all of them equally important while estimating a posterior probability? Which should be chosen out of the three?
Let $Y_1,Y_2,Y_3$ and $Y_4$ be four random variables such that $E(Y_1)=\theta_1-\theta_3;\space\space E(Y_2)=\theta_1+\theta_2-\theta_3;\space\space E(Y_3)=\theta_1-\theta_3;\space\space E(Y_4)=\theta_1-\theta_2-\theta_3$, where $\theta_1,\theta_2,\theta_3$ are unknown parameters. Also assume that $Var(Y_i)=\sigma^2$,...
$$L=-2n\log(2 \pi)-n \log I_0(\lambda p)+\sum_{i=1}^{n} [\lambda p\cos(x_i-X_i)]-\sum_{i=1}^{n}log[c-m_1\cos(y_i-BX_i)-m_2\sin(y_i-BX_i)]$$ where $\lambda, X_i, m_1, m_2 , p$ are parameter i reach to this in MLE method I need to derive this relation with respect to $B$ to estimate it . I attempt to derive with respec...
I know the following result: Let (X,Y) be a normal random vector 2-dimensional with mean vector $m=(m_1,m_2)$ and convariance matrix $\Sigma=(\sigma_{ij})$. For the lognormal random vector $(e^X,e^Y)$ we have that $$ E[e^X]=e^{m_1+\frac{1}{2} \sigma_{11}}, \quad E[e^Y]=e^{m_2+\frac{1}{2} \sigma_{22}}.$$ And a sim...
I know that AdaBoost algorithm is less prone to overfitting but I'm curious on which kind of datasets will AdaBoost produce overfitting and why?
I want to use a multi-layer perceptron to design the following function : The architecture I want to use is the following one : What would be $w_i$ weights ? Is there any guide to find them ? I tried the following, guessing with $\forall i,w_i=1$. \begin{array}{|c|c|c|c|c|c|c|c|c|} \hline &w_1&w_2&w_3&w_4&w_5&w_6&w_7...
Given a random variable $X$ which follows a normal distribution $X \sim (\mu,\sigma^2)$ with unknown mean and known variance. Say we have $n$ observations $y_i$ where $1\le i \le n$ and each $y_i$ is sampled from a normal distribution $Y_i \sim N(x,\sigma_i^2)$ (not i.i.d.) where $x$ is sampled from $X$ and it is the s...
I'm following this well-known tutorial on SVM. What I'm trying to understand is why we demand the hyperplanes to be $wx - b = \pm 1$? and why is it always possible and done without loss of generality (I've understood that you can always scale $w,b$ accordingly - is that correct?)
I am trying to make a binary classification using Keras' Conv2D classes based on this blog. I have many files with a matrix of floating point numbers in each one (these matrices are not pixels values). They are stored in separate folders that are named after each class. The problem is that don't really know: can or sh...
I have three values, two of them are from $0 - 144$ and one is from $0 - 24$. I want to normalize these values and end up with a value from $0 - 1$ or $0 - 100$. I wanted to know if I can use the following equation to do this? And if so, how to go about it. $$ z_i=\frac{x_i-\min(x)}{\max(x)-\min(x)} $$ where $x=(x_1,.....
I would like to estimate the correct percentage of tweets that are written in a particular language from a collection of followers of a given account . The goal is to compare different accounts to check which one has the highest percentage of tweets in a specific language among its followers. Since I cannot download al...
I'm working on a simple audio-classification program, which is intended to indicate whether the most-recent n seconds of audio in an audio stream are "Speech" or "Music". My program extracts various features from the audio (fundamental frequency, loudness, rolloff frequency, etc) and uses them to build up histograms t...
I have to generate 10000 steps of the following process: Y(t) ~iid N(0,1) X(0) = 0 X(t+1) = X(t) + Y(t) I also need to check percentage of negative results of X(t). I am new to R and I have a problem with that excercise. Can you give me some tips? Do I have to use some kind of loop? And how to set X(0) to 0? Thanks in...
I am doing this challenge on Kaggle and I am trying to use AdaBoost from scikit-learn. My code is like this: from sklearn.ensemble import AdaBoostClassifier ada=AdaBoostClassifier(n_estimators=50,random_state=0,learning_rate=0.01) prediction = ada.fit(train_input, train_labels).predict(test_input) Here, train_input, a...
I measured number of mass spectra peaks from differently fixated material to test for an effect of fixation on number of peaks. I made weekly measurements to see the change over time for 3 Months, which is a relevant time scale for us. From the raw data I calculated median values as I want to test the resulting slope u...
I have a large number of times series (think of the order of 10k), one data point per day (think of the order of 100 days), so I have about 1M data points in total. (One of the things that I will try is a vector autoregressive model, but for now I wanted to start with something simpler. Simple regression where the pred...
I don't have computer vision background, yet when I read some image processing and convolutional neural networks related articles and papers, I constantly face the term, multimodal embedding. Can anybody provide some intuition behind this term? I usually encounter this term in image captioning and image recognition.
I have run a nMDS analysis in vegan and I have a few questions on the stress values of the analysis as well as the p-values associated with utilizing the ordisurf() function (also in vegan). First of all, what is a good stress value? I know that getting closer to zero is ideal. Depending on how many dimensions I add th...
I need to determine if one value is better significantly over others few values. I mean, I use a metric to measure different image segmentation methods, and I got these three values for that metric: method 1: 4.23 (average of 3.06, 7.59, 2.04) method 2: 4.17 (average of 2.89, 6.67, 2.95) method 3: 2.63 (average of 1.9...
I was reading Rethinking the Inception Architecture for Computer Vision paper and in the very beginning I faced with the following part : Spatial aggregation can be done over lower dimensional embeddings without much or any loss in representational power. For example, before performing a more spread out (e.g. 3 × ...
I'm new to the domain of statistics and i'm trying to accumulate as much info as i can right now. The problem is that from the get go most statistics books use the sum of squares for population formula : $SS= \sum{X^2} - \frac{(\sum(X))^2}{n} .$ Where can i find a proof for this formula? I've tried to prove it myself ...
Given two random variables $S$ and $W$, I'm trying to determine the variance of the weighted average $$Z = \frac{\sum_{i=1}^n s_i w_i}{\sum_{i=1}^n w_i}$$ (With the same $w_i$ in denominator as in the numerator) It seems $E[Z] = E[S]$, but what would be an estimate of the variance? If the denominator term wasn't there...
QUESTION: How many different statistics packages use GPL? BACKGROUND: Most of what I am finding regarding GPL (Graphical Programming Language) is in relation to SPSS. While the literature I've seen indicates GPL was created to produce a cross-platform syntax for graphics, I can't seem to find references indicating tha...
I have the following crossover design: So I measure a certain parameter before intervention, and after. Should I use repeated-measures ANOVA to test the hypothesis that H0: there is no difference between Treatment A and B or is there more appropriate test to do?
This is based on example 2.2 from Machine Learning: A Bayesian and Optimization Perspective by Theodoridis. Please note that I'm not at all familiar with ergodic theory and I'm reading this with background from Casella and Berger. A wide-sense stationary process (WSS), by definition, is a stochastic process $(u_n)_{n \...
Should VAEs be even used for non-generative tasks? If I were to use both models for embedding images, how would the embedding space differ on a structural level?
Let define the conditional probability as: $P(X<x|Y=y)$, can we consider this as a random variable??
I don't know if this is a problem. But wanted to make sure my model is free of "confounding" I am doing a thesis on IPO underpricing, where I am using multiple regression. The problem is from my regression (1) without dummy variables to regression(2) where I included some dummy variables, one of the independent variabl...
How to fit polynomials of the form $a_n x^n + a_{n-1} x^{n-1} y + ....+ a_{0} y^n+ b_{n-1}x^{n-1}+b_{n-2}x^{n-2}y+...=c$, given some data points $(x_i,y_i)$ (so as to minimize sum of least square distances from data points to curve)? The sources on the internet only seem to suggest the method for polynomial functions o...
I have a dataset of roughly 1000 subjects' data and their labels. The ultimate goal is to build a neural network which can classify the data as either 0 or 1. My current strategy is to do 10-fold CV, wherein I take a different 10% of the data for testing while training on the remaining 90% (repeated many times). There ...
One of the key independent variables is in a form of a probability. The probability is outside the range of [0, 1]. There's approximately 10 of them out of 100. For example, it has 10 values with a probability greater than 1. I am not able to talk to the person who collected this dataset. When I include this variable ...
I am trying to use a convolution neural network to classify organisms into the correct phylum. It's easy enough to just treat this as a classification problem and train on some images of animals (there are about 35 phyla for animals). The problem is that in case of an incorrect classification some answers are more wron...