instruction
stringlengths
9
38.7k
In case of a cricket match, there are two teams. One gets to bat first while the other bowls and then the reverse happens. The team batting first sets a target number of runs for the following team. The team that bats second, is chasing a target number of runs, trying to make 1 more than the target to win, while the ot...
Could the mutual information over the joint entropy: $$ 0 \leq \frac{I(X,Y)}{H(X,Y)} \leq 1$$ be defined as:"The probability of conveying a piece of information from X to Y"? I am sorry for being so naive, but I have never studied information theory, and I am trying just to understand some concepts of that.
I was looking for ecologically-meaningful interactions in mixed-effects models of my meta-analysis when something nice (or at least I think!) came out. My meta-analysis looks at plant diversity (i.eSratio) loss or gain in natural ecosystems after fertilisation experiments around the globe. I wanted to see if mean annu...
When I first learned about Generalized Linear Models I thought that the assumption that the dependent variable follows some distribution from the exponential family was made to simplify calculations. However, I now read about Vector GLMs (VGLMs). VGLMs do not require the assumption that the dependent variable follows s...
The following question is from my book: If the mgf of $X$ is $M(t) = \dfrac {e^{5t} - e^{4t}}{t}, t \not = 0$, and $M(0)=1$, find (a) $E(X)$, (b) Var$(X)$, and (c) $P(4.2 < X \le 4.7)$ I that to find the mean and the variance I just compute $M'(0)$ and $M''(0)-[M'(0)]^2$. But I'm not sure how to do part c. Am I suppo...
This question is with reference to semantic segmentation. According to the paper Predicting Depth, Surface Normals and Semantic Labels with a Common Multi-Scale Convolutional Architecture: we weight each pixel by αc = median freq/freq(c) where freq(c) is the number of pixels of class c divided by the total number of p...
I think I have a reasonable understanding of how neural networks and Q-learning work as separate concepts. But when combining the two to form deep Q-learning I struggle with understanding what exactly is used as a target when training the NN. As I understand it the neural network takes a state/action pair as input and ...
My textbook has the following problem: An airline claims that at most $6\%$ of all lost luggage is never found. A random sample of size $200$ is taken. Out of the $200$ observations (supposed to be independent) $23$ pieces of luggage were never found. Test whether the airline's claim is true at a $1\%$ signifi...
I'm currently learning linear regression with multiple variables using gradient descent (from a machine learning course on Coursera). My goal is to predict housing prices in a specific city. My model currently has an $R^2 = 0.83$, and it does an OK job at predicting prices. My question concerns the skewed form of the p...
I have question relating to how to interpret an Impulse response function in a system of 5 endogenous non-stationary variables (GDP, Investment, Uncertainty index, Interest rate and inflation rate) with two stationary exogenous variable which reflect world impact. All variables is in log except inflation and interest r...
I want to create a recommender system with factorisation recommander. We have scores on hashtags, ads have scores on hashtags, and we even have scores of subscriber on ads. We want to use this to recommend ads to subscriber. Scores of suscriber on hastags (but not all of them) : called df_p count hashtag_id sub...
Are there any cases that it is better to use Lasso for dimension reduction in comparison to other methods such as PCA/ Kernel PCA/ LLE and ISOMAP and SPECTRAL EMBEDDING? Can you add an example (most preferably in R) to show its benefits over the other methods?
I am currently working on a Data Mining project in an assembly line. A lot of parts are produced in this assembly line and each part gives me a curve (it's the energy use of the part over the process time -4s) My aim is it, to compare those curves and see if one of those curves is different to the other curves (anomaly...
I'm looking for a general method to detect outliers in one dimensional data. That is to say without setting any anomaly threshold. Below is an example of my data : Red points are far enough from the main group to be considered as outliers. There are not a lot of data. I'm not sure if I can use something like variance ...
I have two groups of biological samples from a population: data on parasitized fish and non-parasitized fish. I want to compare the values of some biological indexes between these groups but I need to control for size. Since my data does not fit the normal distribution, even after log transformation, I wonder if there ...
On https://cran.r-project.org/web/packages/cem/vignettes/cem.pdf, it mentions that "Using the output from cem, we can estimate SATT via the att function. The simplest approach requires a weighted difference in means (unless k2k was used, in which case no weights are required). For convenience, we compute this as a regr...
I have this r code using caret and glmnet, and it's intended to export a table with values. I've been asked to include odds ratio. The problem is I'm uncertain how to explain the odds ratio in this context. How would I state the interpretation of the odds ratio in plain english? This is what is printed: Im...
I was doing an exercise with these requirements: Derive the gradient with regard to the inputs of a softmax function when cross entropy loss is used for evaluation, i.e., find the gradients with respect to the softmax input vector θ, when the prediction is made by $\hat{y} = softmax(θ)$. Remember the cross entropy func...
I am working with some bird mortality data across 9 years of surveys and have run up against a problem estimating the standard deviation. Across the 9 years, survival estimates were .47,.60,.36,.58,.57,.50,.57,.46, and .40. Within each of the annual survival estimates, let's say there were 100 data points every year. w...
This post states the formula to calculate the noncentrality parameter of a test statistic that has a standard normal distribution under the null hypothesis. For a t-test under an equal variance assumption, the mean is given by: $\delta = \frac{\mu_1-\mu_2}{\sigma_{pooled}/\sqrt{n}}$ this is equivalent to $\delta = d *...
For long I have been a silent reader of your forum, but now I have to ask you for your expertise, as I haven't found an answer to my question yet. Short to my back story: My aim is to calculate the predicted probabilities that a country receives development aid from a donor with Stata14. The models under evaluation are...
I am fitting a linear mixed effect model to study the interaction of two independent variables, a covariate time and a factor m (levels "R" and "V"), on the outcome variable var. Data are grouped by the variable id, and I consider the intercept for each group as a random variable. In particular, I am interested in whet...
how can i intepret these results as both trace statistics and max eigen values inticate that there are no cointegration
Is it correct for me to presume that it would be bad modeling practice to construct a mixed model where a fixed effect "groups" ("is nested"?) perfectly within a random grouping variable? For example: Median income of a census tract would, of course, "group" perfectly within census tract. So, this would be bad practice...
I have survival data and large numbers of predictors. I am trying to use LASSO' orelastic net' in package `glmnet' in R to select appropriate covariates. I use following code: cv.glmnet(x, y, family="cox",alpha=0.5,nfolds=20, grouped=TRUE) # for Elastic net and cv.glmnet(x, y, family = "cox",alpha=1, nfolds=20, group...
From my book: Let $W$ denote the waiting time until the first occurrence during the observation of a Poisson process in which the mean number of occurrences in the unit interval is $\lambda$. ...Thus, when $w>0$, the pdf of $W$ is $$F'(w) = f(w) = \lambda e^{-\lambda w}$$ My question is, why does it say "when $w>0$ a...
I'm struggling to see how the distribution function of an order statistic is obtained. So far, from here, I understand that the distribution function $F_k$ of $X_{(k)}$ is given by: \begin{equation} \sum_{j=k}^n \binom{n}{j} \left[F(x)\right]^j \left[1 - F(x)\right]^{n - j} \end{equation} Now, I want to find the CDF of...
The number of Eigenvectors selected after a PCA transformation can be done in several ways. One such method is using the total amount of variance explained by each principal component. That is, select the top $n$ Eigenvectors such that the cumulative variance explained by them reaches a $p$ (e.g., 99%). This notion was...
We have a news feed, and we want to surface items to the user based on a number of criteria. Certain items will be surfaced because of factor A, another because of factor B, and yet another because of factor C. We can create individual heuristics for each factor, but we then need to combine these heuristics in such a w...
I'm building my first linear regression model with multiple features (predicting house prices in a specific city). After reading up on ways to improve my model, I see people talking about plotting the relationship between the target variable and the features. I then realized that one of my features, the construction ye...
I am analysing a longitudinal dataset of drug use in R code. Which contain the dependent variable: use measured twice which I want to regress on several independent variables, to see if they can predict changes in use over the two timepoints. The 3 time-invariant independent variables are age, sex and ´bias´, which i...
I'm reading an intro to statistics book where it shows how to calculate a confidence interval using a sample of size N, then taking the mean and standard deviation of that sample as point estimates to use in the calculation. What I'm wondering is, if instead of one sample you take multiple samples to create a sampling...
I personally hate R markdown file / python notebook, since they mix code and results all together (expose unnecessary details / show pre-mature progress in exploration stage). But I noticed there are lots of people use this as their Integrated development environment. What are the advantages of using it? Because the a...
I have a dataset (Dataset X) with error bars. I have two different models (Model A and Model B) which each try to fit the dataset. On visual inspection, it is very obvious that Model A fits Dataset X much better than Model B. I have also computed the root-mean square (R.M.S.) misfit between Model A and Dataset X (0.94...
Let $x$ have the probability density: $$f(x) = \frac{x^{\alpha - 1}(1-x)^{1 - \beta}}{\mathrm{B}(\alpha,\beta)}$$ where $\alpha,\beta$ are two positive parameters and $0 \le x \le 1$ is the domain of $x$. What is the expected value of $1/x$? That is, what is the value of: $$\langle1/x\rangle = \int_0^1 \frac{f(x)}{x} \...
I have a variable $v \sim N(0, 1)$ (i.e., mu=0, sigma=1). Every day I estimate $v$'s interquartile range (IQR). Instead of using the empirical IQR, I estimate $v$'s mu and sigma from 24 hourly observations, then I use the daily estimate of mu and sigma to estimate the daily IQR assuming a normal distribution. I know th...
I have the following linear model: Call: lm(formula = log10(wage) ~ age + occup + sex + edu + occup:sex) Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 0.7026881 0.1056301 6.652 1.99e-10 *** age 0.0038949 0.0009635 4.042 7.17e-05 *** occup2 ...
The case for test data is clearly explained in many places, but I'm just thinking about training error here. I believe it's impossible in a decision tree, and possible (though unlikely) in a random forest, but have no clue about how to think for a Gradient Boosted Tree. Appropriate noise might be selected for a split, ...
The splines package in R is mostly focused on, what they call, a B-spline representation which is, by default, a cubic polynomial with no knots (unless you supply them). The actual numeric coding of the splines is described well in the package. Needless to say, it's a little sophisticated. Case in point: x <- 1:100 mat...
I have a data which looks like this: Tissue I p1 p2 p3 p4 p5 t1 20 10.90 0.07 40.57 76.71 12.73 t2 10 13.57 3.48 27.93 75.46 19.59 t3 13 1.05 0.04 16.18 8.92 7.56 The second column (I) is my dependent variable and p1 through p5 are my independent variables. I have a much bigge...
I want to do a cluster analysis using a set of measures that are much more prone to error of measurement as you approach the low end of their distribution. I have an intuitive sense that I should shrink the distances between items that occupy the clustering space where I know there is greater error of measurement. Dis...
I think I grasped what degrees of freedom are. In Fox (2008) Applied Regression Analysis and the GLM (2nd. edition) chapter ten, on page 225 the geometrical representation of degrees of freedom is explained in a lot of detail: Degrees of freedom associated with a sum of squares represent the dimension of the subspace ...
I have a discrete time series (1000 discrete ticks), which only has values from {0,1,2,3,4}. Here's a picture of 150 somewhere in the middle of this series. But, actually, it has no sensitive difference from the other 850 ticks. I mean, the series is completely stationary and has no visible dependencies... Goal is to ...
I'm using an implementation of DQN to train an agent for a kind of game (arxiv.org/abs/1312.5602). I wanted to know if DQN agents will take actions based on history of past states/actions or just the current state?
Consider the following model: $y_t=a+by_{t-1}+u_t\\ u_t=cu_{t-1}+v_t\\ v_t\sim N(0,\sigma^2)\quad IID $ I am trying to show that the OLS estimator of $y_t$ on $y_{t-1}$ and a constant for $b$ is not consistent. However, I am having some trouble with the calculations. Particularly, I am stuck on how to compute $E[y_{t-1...
In R I tried to measure the accuracy by performing a classification analysis using logistic regression analysis. I found that there are two ways to measure accuracy. One is AUC measurement using ROC curve and the other is accuracy using confusionMatrix. When confusionMatrix is used, the probability exceeding 0.5 is reg...
I have data from a survey that has a branching structure. Respondents were all asked a "select all that apply" question that included answer choices in two categories, and their answers determined which branch(es) of the survey they took. Something like this: Q: What do you like? Select all that apply. A 1 B 2 Anyo...
Let $B(n,p)$ be a Binomial Distribution. We can estimate $p$ using $\hat{p} = \frac{\sum_{i=1}^m X_i}{m n}$, where $X_i \sim B(n,p)$ are i.d.d. and from Chebyshev's inequality we have \begin{align*} \Pr\left[|p-\hat{p}| > \epsilon \sqrt{\frac{p(1-p)}{n}}\right] \leq \frac{1}{m \epsilon^2} \end{align*} since $\mathbb{...
I'm working with a dataset containing results from two types of cognitive tests: Pairs-matching test (say, $Y_1$), which recorded as number of incorrect matches (discrete count of mistakes, ranging from 0 - 12), and Reaction time test ($Y_2$), which recorded as time in millisecond. Both variables are positively skewe...
I'm reading the public draft (pdf) of the 2nd edition of Sutton&Barto's RL Book. There are a few things I don't understand about the Off-policy n-step Sarsa method described in the book. You can find the pseudo-code at page 159 (177) of the pdf I linked above. Here's a picture of the pseudo-code for your convenience: ...
I often see this done in multiple regression modelling but I am not sure if it is correct: Suppose one has three explanatory variables, X1, X2, X3, and a dependent variable Y. (Assume all variables are continuous) One creates several regression models with subsets of this Xs'as explanatory variables. For instance, (a) ...
I'm after some advice about how best to model some data I have. The response (outcome) variable is a count. It represents the number of citations a journal article received over a period of time. Range is 0 - 4100. It is right skewed with mean = 80 and sd = 140. Of over 20,000 observations, there are about 20 with valu...
Incidental parameters problem results in away-from-zero biased estimates per Greene (2004). Okay. But can this bias result in a directional change as well, e.g., true value is +2.13 but estimate is -1.23 or true value is -4.12 and estimate is +1.53. Further, Greene (2004) shows downwards biased standard errors and thus...
I have reached this type of problem quite a lot of times, but this problem still bugs me. I got it wrong, and I am still not sure how to do it. The question is following: You gave out a lecture to a student, and you decide to test whether the student really 'understood' the lecture. P(getting the question correct | un...
I'm studying to be an auditor (CIA exam), but I do not have a statistics background and I'm very confused regarding the difference between confidence intervals and precision, then how they relate to the confidence level. I know that as a confidence level is increased (eg: 90% to 95%), the confidence interval widens. I...
i'm struggling hard to calculate the CDF in excel without using pre-built formulas. I have Z score and need to compute CDF of standard Normal distribution. Let's say i have column A with Z scores -3 -2 -1 0 1 2 All i can get is non cumulative distribution using: =EXP(-1/2*(A2^2))/SQRT(2*PI())
So say I have a situation where: Entity A makes up 2 slots of a share, B makes up 5, C makes up 2, and D makes up 1. By selecting a random number from 1-10 two times (rounds), 3 unique entities are picked. If an entity is picked once, then it can't be picked again. A possible chain is B-A-C and D unpicked. A calculatio...
I have a data set with size of 30k+, and it has several categorical features and also several numerical features. When I try to split the data into training/testing data set, I need to answer a question, which is: For categorical features, how to make sure that training data has all the different categorical values. I...
I am seeking to estimate a regularization method to estimate the conditional probability $p(y|\mathbf{X})$ where $\mathbf{X}\in\mathbb{R^{n\times m}}$ and where the probabilities are invariant by permutation column-wise on $\mathbf{X}$. Formally, let $\mathbf{X}=(X_1, .., X_n)$ let $\pi: [1 .. n] \to [1 .. n]$ be a ...
I apologize in advance if this question is silly. I'm trying to identify which predictors are most important and what the right lambda value to choose based on the lasso plot in Matlab. Here is my code: z=zscore([Age Height Weight]); x=[ z dv_gender(:,1 ) Smoker dv_loc(:,[1 2]) dv_selfassed(:,[1 2 3]...
I want to do a linear regression on a variable y that depends on several variables x1,x2,x3 that I think is important. However, x1 has readings everyday, x2 only has readings on weekdays, and x3 only has readings every half year. On the other hand, y has readings every weekdays. How can I treat these data in order to d...
Is it possible to detect ourliers within univariate reaction time data using the Hoeffding Inequality described below? Let's say We have following reaction time data. // some observed reaction times double dataPoints[] = {0.464, 0.443, 0.424, 0.386, 0.367, 0.382, 0.455, 0.410, 0.411, 0.424, 0.338, 0.355, 0.342, 0.324,...
In several answers I have seen CrossValidated users suggest OP find early papers on Lasso, Ridge, and Elastic Net. For posterity, what are the seminal works on Lasso, Ridge, and Elastic Net?
I am doing my thesis at the moment and I needed to check the BLUE assumptions for my data set. I am doing my thesis on trying to explain IPO underpricing and my data set consists of 100 companies who did an IPO. I have found second order correlation via the Breusch- Godfrey test in stata and I was wondering if anyone ...
My experiment is the following: In a nutshel: site ncolonie Week 1 Week2 Week3 - - no treatment 3min freeze 3min freeze A 7control remove pieces of paper remove pieces of paper remove pieces of paper A 8treatment r...
I am interested to know why running the R arima function's result has a different accuracy from my "manual" way of linear regression. lh # lh {datasets} # Arima, Use "CSS" to get least squared. arima(lh,c(1,0,0),method="CSS")$coef # ar1 intercept # 0.5859943 2.4150521 # "manual" method length(lh) ...
What is the intuition behind infinite Cramer-Rao Lower Bound and its connection with the unbiasedness? I understand, that if the likelihood $p(x|\theta)$ does not vary sufficiently around $\theta$, then, we get small Fisher Information and the bound on the variance of any unbiased estimator $\hat{\theta}$ grows. But w...
I am conducting a meta-analysis, and the main question is: "Is there a relationship between corrected angle and the functional outcome?" I have some studies that report the corrected angle and functional outcome score without reporting the correlation. For each outcome, I have the mean, SD and sample size. How can I ca...
I know that the hidden layers help in extracting features from the input for effective classification by the output layer but can it also help in adding modeling capacity to the network.
I'm doing a PROCESS Model 4 mediation analysis, where: X = Persuasion Knowledge (continuous) M1 = Brand Attitude (continuous) M2 = Brand Awareness, which consists of aided brand recall (dichotomous) and unaided brand recall (dichotomous) I tried putting it into PROCESS with three mediating variables, but I get the...
For analysis the effects of different concentrations of Natamycin on some physicochemical and microbial properties of yogurt, yogurt samples were preserved by addition of Natamycin at 6 different concentrations. Then the properties were measured in 4 different points of time (on weekly basis). Which method is preferred...
Cox regression is commonly extended to estimate repeated events processes (for a quick review see [ 1 ] and [ 2 ]). In Clark et al's first article in their excellent review series of survival analysis [ 3 ] cumulative hazard is explained in the following manner: The interpretation of H(t) is difficult, but perhaps th...
My research team suggested we use in a Cox regression the "lost disease-free years" as outcome measures. It works like this: we have the median age at which the general population gets cardiovascular disease, say 75 years. In my sample, I subtract the age that every subject got cardiovascular disease from that age; e.g...
Let's say we have a simple binary classification problem. So for a predictor X we want to predict response Y. Y is binary, so either 0 or 1. Now let's say we use two different classifiers, model1 and model2. While predicting a new data point x_i, model1 predicts with a probability of 0.9 that y_i = 1, while model2 says...
I used the Bayesian Information Criterion (BIC) to aide in multiple model selection. I want to predict the amount of phosphorus which is extracted by P-test A (DL-P) based on the amount that is extracted by P-test B (CAL-P) and 4 other parameters. P-test B is a fixed variable, the other variables can, but do not need t...
I am struggling with the intuition of the following model: $y_{t} = (1-s_{t})x_{t}'\beta_{0} + s_{t}x_{t}'\beta_{1}+\varepsilon_{t}$ where $\varepsilon_{t} \sim N(0,\sigma{2}$ where $s_{t}$ is an unobserved process which can take the value 0 or 1. It is described by $Pr[S_{t} = 1] = \lambda$ and $Pr[S_{t} = 0] =1- \l...
Say I see a bimodal distribution like this (with the domain, or random variable, $Z$): Does that instantly mean that I am seeing not a distribution of one independent random variable $Z$, but actually a composite of two distributions (associated with two truly independent random variable $X$ and $Y$), even though $X$,...
Does the number of outputs of a neural network have to be smaller than the number of inputs? This seems to be the case in most of the applications that I have seen . At the same time, I am not sure how this might be the case in language translation models. It is not guaranteed that the output (the translation of a text...
In a skipgram model, the output of the j node of the c output word is given by this formula: In this context, what is $w_{I}$?
I am currently working on a dataset where the feature for each observation is time-series. For instance assume two observations: "person X and person Y", and the feature 'price paid for milk' as time-series data for each. Now my aim is to normalize the data as a pre-processing step and feed it into a neural network. H...
The parameters for a skipgram classifier are defined like this: Why are there two separate vectors, u and v?
I have categorical data represented by a two-way contingency table (say $Y_{1}$ and $Y_{2}$, each with three levels). The data consists of fully observed counts (where data on both $Y_{1}$ and $Y_{2}$ are available) and partially observed counts in three margins (where data on only $Y_{1}$ or only $Y_{2}$ or both $Y_{...
If my validation error is smaller than my training error, what does this imply? Does this mean the model is 'underfit'?
I am trying to understand the state of the art of a Gamma GLM regression with an elastic net penalty because I need to recreate it in a SAS environment (pity me). To my knowledge, the only package, in any language, that allows for this is the H2O package. Glmnet only applies to the Gaussian (standard elastic net regres...
I'm working on a survival analysis in R using the survival package - and I am wondering what modifications I need to account for when using right-truncated data (which I think is what I have) (there doesn't seem to be as much info on this as the other types of truncation or censoring!) Briefly - insects evolve resistan...
Currently I am trying to calculate Kappa for a confusion matrix. Unfortunately, I never used Kappa in R before. I found this description how to use it: class1 A vector describing a classification of experimental units. reference A vector describing the "correct" classification of the experimental units in class1 refere...
I'm testing a multilayer perceptron with both scikit-learn and keras using the tensorflow backend. Keras: epochs=X Scikit: max_iter=X The epochs of keras are the same as the iterations of scikit learn??? Thanks
PCA looks for factors in data that maximize explained variance. Canonical correlation analysis (CCA), as far as I understand, is like an PCA but looks for a factors that maximize cross covariance between two data sets. So find pca like factors, that are common to two data sets. Independent component analysis (ICA) is...
These are questions regarding basic statistics/reporting in biology. I have already read a couple of articles on this subject, but couldn't find a clear answer applying to my research. I have the following scenario: I have 3 independent cell cultures from which I have analyzed 10 cells each with a confocal microscope ...
I collect time series wind speed data. Occasionally, the anemometers that collect this data break. I have flag "events" in place to notify me when this occurs - they are very rudimentary, for example, when a sensor breaks, it will return flat line data. So I have code that checks for wind speed data < 1 m/s. Usually th...
I am pretty new to neural networks and am trying to figure out what network to use for my particular kind of data. I have a time series (frequency vs time) of radar returns. The radar either picks up a return from objectA, objectB, or no object. I would like to train a network to be able to determine what is in the rad...
I'm currently reading Cressie and Wilke's book on spatio-temporal modelling and I'm curious to know if there are review articles that summarize important tools in spatio-temporal analysis. Can anyone point me to useful resources?
I had a question that involves the basic assumptions of t-tests and anova models. I know there are assumptions of normality but wasn't sure where they need to be applied to. I see most people explain that the normality assumption is related to the residuals and the standard way to see this is to make a qqplot with the...
In a discrete choice model setting, lets say my model function is $U(x)= \beta_0+\beta_1X_1+\beta_2X_2+\beta_3X_3+\beta_4X4+\epsilon$ with independent variable $X_1$ has a value ranges from -2.5 to 2.5 $X_2$ is always positive $X_3$ is always negative and $X_4$ is binary dummy In this case How can I interpret sign ...
I'm studying machine learning clustering algorithms by using a real example of project that the company I work for had to deliver. The goal was to cluster a group of 4920 cities according to their main characteristics (population, percentage of urban population, average citizen income, area, ...) and how the fixed broa...
Can I (and how) calculate the correlation between two sets of data where each point in both data sets is a mean +/- SD (multiple measurements have been conducted for each point). Clearly, I can correlate the means, but is there a test that also takes into account SD.
I'm trying to fit multiple Stochastic Gradient Descent models to a dataset where the target (binary target, 0 or 1) is very imbalanced, i.e the success rate is about 0.0001. Out of all the models I've trained, I would like to select the best model based on the validation log-loss and validation AUC. Unfortunately, the...
I have four weights. I want to test if there is an outlier within those four weights. To me, the number seems quite small to detect outliers. I thought that the Median Absolute Deviation (MAD) may be a way to detect outliers. I used it in R with D[which((abs(D-median(D))/mad(D)) >2)] where D is those numbers: [1,]...
I'm using 2010 Census data on race, which contains (to the best of their ability), the complete population of the U.S. rather than just a sample. I've divided the U.S. up into four geographic areas based on fire risk, and then calculated the ratio between the population of each race within an area and the entire U.S. p...
I have used the measurementInvarianceCat() function to conduct Measurement Invariance Multigroup Confirmatory Factor Analyses (MGCFA). The output is the following: > measurementInvarianceCat(model3, data = sub1, parameterization = "theta", estimator = "wlsmv", + ordered = c("V34", "V35", "V36",...