instruction stringlengths 9 38.7k |
|---|
I would be interested to explore the potential sources of Type I errors in randomised controlled trials. A key question in this respect is whether confounding can be understood as one such source.
|
I'm currently taking a course in time series and have been struggling with understanding the Johansen trace test. Specifically, the calculation of the eigenvalues for the Likelihood ratio statistic. Suppose we have an m-dimensional VAR(p) model $$Y_t = \Pi_1 Y_{t-1} +\Pi_2 Y_{t-1} +\dots + \Pi_p Y_{t-p} +\varepsilon_t$... |
I have come across multiple methods regarding outlier treatment:
(features = my input/regressor/... matrix)
Treat outliers in the entire sample (both features and the variable to be forecasted).
Treat outliers in the feature sample, leave the variable to be forecasted untreated.
Treat outliers in the entire sample tha... |
I've tried to build a predictive logistic regression model. However, there are only 500 observations with disease (+) and over 60,000 observations with disease (-).
Can I take a random sample (e.g., 10,000) of 60,000 observations with disease (-) to build the predictive model?
|
I am doing a research and thus comparing some algorithms for binary classification. Worth to mention that, the data set is highly imbalanced i.e., the minority class is only 0.2%.
Notation:
Area Under Precision-Recall (AUPRC)
Area Under ROC (AUROC)
My question is, or what I want to have explained; In a scenario I have ... |
I am tasked to help with organizing the driving experiments for a robot.
The goal is that for each Terrain Class like forest, wet-meadows, dry-meadows we will measure the time it takes the robot to move through it. As I understand, we have two important factors: 1) slope of the terrain and 2) the feature-class represen... |
I use 70% of the dataset for training and 30% for testing. I use oversampling on the training dataset with an ANN. I use the test dataset on my ANN and look at the performance of oversampling against not using oversampling. I find the best settings for each ANN using oversampling and for the ANN with no oversampling. E... |
I am looking into a dataset for which I will be doing a regression. When considering the option of a logistic regression, I started doing univariate regressions to get a feeling for the possible relationship of my predictors, and happened across a case I haven't seen before:
The predictor is a positive rational number... |
Recently, I thought of the following question: We are often taught about a "Cox Proportional Hazards Model" - this is able to model the hazard between different cohorts of patients, assuming that the hazard between any two groups of cohorts is always constant (I am not sure why this is such an important assumption - I ... |
If I have a set of 100 values which have been programmatically calculated and I would like to validate those calculations by performing them manually, how many manual calculations would I need to do to be 99% sure the programmatic calculations are all correct?
I'm not sure of the appropriate formula or the right way to... |
I have a dataset of abundance of of rodent (AA) in 63 sites, which located in two main area (northern and southern part, NS). AA only appeared in 15 sites, so there are 48 sites have 0 value(mean = 1.349; variance = 11.17). I want to know which environmental factors could explain the abundance of AA, and since there ar... |
Hello I have run a kruskal wallis test to compare the median between three groups as in this picture below:
I know what median value and p value are but:
IQR is the spread of data but what is used for here in kruskal wallis test?
What is the meaning of h value or h test statistic?
What is df?
I'm a beginner to sps... |
So I am using a pre-trained model to do the language translation
Eg:
Input = "Good morning"
Output = "Bonjour"
I would like to see if the translation is correct. I do not have any reference sentence for the translated output.
Can someone please tell me how can I compare the input and output and know if the translati... |
I am doing a meta-analysis. One of the outcomes I meta-analyzed involved pooling multiple types of related complications. There wasn't enough data to pool the individual reasons for the complications, but I still wanted to do some synthesis with that data as it gives clinically relevant information on why we we may be ... |
I need help with my data,
I mix 2 different powder materials to get one powder with a specific quality number. So, this resulted in quality numbers depending on 4 features, the quality of materials 1 and 2, and their percentage. I created small data set with it.
This is not linear, but I want to predict values, for mix... |
I have fitted a GLMM with the function glmer of lme4 package.
My data consists of a repeated measures count variable, which I am trying to explain with a continuous variable (week) and some categorical variables (zone, treatment and plot). The plot variable I used as a random factor, since I cannot tell the influence o... |
Consider the following ARMAX model:
$$
y[k]=\alpha y[k-1]+\beta u[k-1]+e[k]-0.7e[k-1]
$$
where $e[k]$ is a white noise. One can see that $e[k]-0.7e[k-1]$ is a filtered noise and thus using ordinary least squares will not work as this will cause the regressor and the noise to be correlated. Let $w[n]\triangleq e[k]-0.7e... |
Suppose I have the following regression model:
Monthly alcohol consumed A as independent variable, regressed on a binary regressor S (S = 1 if smoker, S = 1 if non-smoker), and through OLS I get an estimate for the coefficient of S, say 2 pints. So 2 pints is the difference in average monthly alcohol consumed between s... |
I run an ANOVA which indicates that a variable is significant, but running a t-test on the same variable shows no significance. Is this a consistent result ?
Here are more details of what I did:
My hypothesis is that for individuals completing the experiment in room 1, anxiety will be different between time 1 and 2. Bu... |
Sorry for the question, maybe this appears in a book a little more advanced than the ones I have seen.
Suppose we have two samples from normal distributions with sample variances $S_{n,1}^2$ and $S_{m,2}^2$, and population variances $\sigma_{n,1}^2$ and $\sigma_{m,2}^2$
F test for equality of variances says that if $\s... |
How to prove that $e^{−7X}$ is a random variable, given that $X$ is a random variable.
Additionally, ¿can you provide a bibliography to learn more on this topic?. I also wanna know the proof that $ln(X)$ is a random variable.
|
I used the inverse probability weight to eliminate the bias of demographics. After creating the propensity weight, I conducted series chi-square tests to compare demographic variables among treatment groups. However, two out of seven covariates were still significant. Later on I need to create K-M curve and conduct cox... |
Two parameters $(x,y)$ were measured for 3 different objects, wielding the following results: $$\{ (x,y) \}= \{ (1,3), (3,5), (5,9) \}$$ Knowing that the error in the estimation of the values $y$ is described by a normal probability distribution: $p(y|x)=\frac{1}{\sqrt {2 \pi}} exp \left ( - \frac{(y-f(x))^2}{2} \righ... |
How does stata estimates ATET (Average Treatment Effect on the Treated) using teffects psmatch.
I understand the average treatment effect (ATE) is computed by taking the average of the difference between the observed and potential outcomes for each subject done by teffects psmatch.
What about ATET?
|
my lecturers require us to write the error term for the effect/source in the ANOVA summary table. Such as below:
I don't understand how to find which S(error) term goes to which source. And I do know it depends every time, whether the term is within- or between-subjects because the between-Ss factors go in the bracket... |
I got the definition of log-likelihood by Goodfellow's Deep Learning book:
\begin{equation}
\label{eq:loglikelihood}
\theta_{ML} = {argmax}\sum_{i=1}^{m} \log p_{model}(x_i; \theta).
\end{equation}
I saw the definition of empirical distribution in the same book and is something like this:
\begin{equation}
\... |
I'd like to conduct a three-level meta-analysis using R. I see that several papers recommend calculating the level 1 sampling variance using Cheung's 2014 formula 14. However, I'm wondering if it is possible to calculate the sampling variance if I don't have access to all of the standard errors associated with my effec... |
I am trying to generate n numbers in decending order (for the purpose of decreasing order of weights) such that their sum should be 100 and more importantly the difference between anytwo numbers consecutively should be the same.
I am already using the python dirichlet random function. But anyway it does not give equall... |
I was reading Wooldridge's "Introductory Econometrics," in which he said:
"The centering of explanatory variables about their sample averages before creating quadratics or interactions forces the coefficient on the levels to be average partial effects." (p.180).
I am struggling to see why this is the case.
|
I have access to a sample (size $N$) of functional data. Each observation corresponds to $C$ functions. Each function $f_{n,c}$ is represented by $T_n$ points for $1\geq n \geq N, 1\geq c \geq C$. All $N, C, T_n$ are in the order of $1e2$ to $1e4$. It is prohibitive to store every $f_{n,c}$.
How do I efficiently store ... |
Background
Let us suppose that we are sampling from a finite population which is itself drawn from a univariate normal distribution. This accomplishes (1) having an underlying probability model and (2) having a probably-normal-like-but-finite population.
The following plot shows jackknifes of increasing sample size of ... |
I have a data set with multiple features, let suppose $x_1,x_2,x_3,x_4$ and my dependent variable is $y$, when I compute the correlation matrix for $y,x_1,x_2,x_3,x_4$ then imagine the correlation coefficient for the first row and column is lookalike [1,0.2,-0.8,0.01,0.9], should I expect a high linear coefficient for ... |
AUC is a summation of performance at different thresholds, but do we only care about a good performance at one threshold?
Imagine a classifier with a low ROC but shots up at point of a low FP and high TP, is it better than another classifier with a higher and smooth ROC?
Maybe a more reasonable example: classifier A ha... |
Is there a recommended significance test for comparing different 10-fold cross validated regressions?
For instance, I want to compare the performance of LASSO against Random Forest for my dataset.
Both models are then evaluated using 10-fold cross validation.
Within each cross-validatoin, each one produces a different... |
I am using a multilayer perceptron model to predict urban temperatures. I have standardized the independent variables before training the model. However, I have not standardized the dependent variable. I chose to do this in order to maintain the overall interpretability of the model results, however I am not sure if th... |
I have survival data set and had issue of getting upper 95 % confidence interval for median overall survival. I had observed other users had similar issue and I went through all suggestion. However, all these could not solve my issue. I hope experts here could help me. I have put all my data and some relevant code here... |
A question from Gelman - Regression & Other Stories...
In answer to my own question...my understanding is that a difference in means should not capture the treatment effect when there are pre-treatment variables that are highly predictive(associate) with the outcome, i.e., confounding, or in a situation with selection ... |
I am working on the data set that consists of Patients (after stroke), Time (then can walk after a going through the program), and Program they follow.
Patient Program Time
1 P1 12
2 P3 23
3 P3 8
4 P2 36
5 P1 10
I am investigating the ... |
I have a question on the choice of dummies in categorical regression. If there are 4 categories, can I just choose 2 dummy variables to represent them in the following way:
Category-Z1,Z2
c1-1,0
c2-0,1
c3-0,0
c4-1,1
If can't, I would like to know why the "1,1" can't be accepted... Data rookie just really confused about... |
I am trying to predict a value using a linear regression, and I get an R squared of 0.63.
My data is composed of 5 different groups (each with different characteristics).
When I am taking the prediction of the model and calculate the R squared value for each group, I get a negative R squared for some of them, and much ... |
I have spatial temperature data on a relative scale from 1 to 0 on several days.
The data sets have the same resolution, origin, and extent.
How can I statistically compare them?
How to identify patterns?
What measures could be used to give a value for overall similarity?
The mapped data looks like this:
|
I am working on a machine learning binary classification problem.
I have an outcome variable status called as loan paid and loan default.
So, I have the loan amount data for each of the loans.
Now, I would like to know whether the loan amount borrowed is significantly different for loan paid and loan default applicants... |
In the famous Dunning-Kruger paper (ungated) perceived and actual scores are plotted, with quartile on the x axis and percentile on the y axis. The message is the perceived scores, and the actual scores are shown as a line for reference. In figures 1 and 4 the actual score line is straight, as one would expect as we ... |
Is there a way to calculate if the variances of two groups are equal when one of the groups is not normal distributed?
|
I have 6 variables, all of them I(1). I tested for cointegration and got a significant result for r=1, so I decided to estimate a VECM. The problem is now that the ECTs of the VECM are not significant. In my opinion, this opposes Granger representation theorem, so should I neglect the result of the Johansen test and co... |
Goal:
To determine whether to use the median or average (or a weighted combination of the two) from a data set based on whether its distribution is skewed or uniform.
Details:
Seen below is a sample taken from economists forecasts/estimates of a financial release. There are 7 estimates in total, the statistics of which... |
The idea of the attention mechanism is based on using some weighted sum of the output of some layers in deep networks. I see the process in forward propagation, and it seems that the attention mechanism does not bring additional weights to learn to the system. Do I get it right?
|
I am using scikit-learn to train some regression models on data and noticed that the cost function for Lasso Regression is defined like this:
,
whereas the cost function for e.g. Ridge Regression is shown as:
.
I had a look in the code (Lasso & Ridge) as well and the implementations of the cost functions look like de... |
I am looking for how to derive the variance covariance matrix (henceforth, VCOV) of an estimator stacking two OLS estimators.
Suppose that we have two OLS estimators:
$$\hat{\alpha}\sim N(\alpha,\;\sigma^2_\alpha) \\
\hat{\beta}\sim N(\beta,\;\sigma^2_\beta)$$
for the following simple linear models
$$Y_i=X_i'\alpha+u_i... |
I am running a regression model in R including the following variables:
Intent = continuous DV
Attitude = continuous IV
Story = categorical
IV in 4 levels: Consumer, Heritage, Vision and Product
Style =
categorical IV in 4 levels: Amiable, Analytical, Driver and
Expressive
Categorical variables are dummy coded. I ran... |
let's say I am classifying time series data from multiple channels in a biomedical setup (e.g. 12 lead ECG).
I have been reading this paper on a CNN-based (ResNet) architecture for assesing the quality of a foetal ECG, where each channel is fed into a seperate network and finally concatenated to be fed into a classifie... |
I am testing whether or not there is an association between the parents education level and the pupils grades in the oral exam in social studies in the last year of danish primary school from the school year 2014/2015 to 2020/2021 (N = 184.641). In that regard I have a couple of questions which I will state first. I'll... |
I'm creating a simulation model, in which some stochastic factors are included. On of my stochastic factors is the amount of containers arriving daily for a specific delivery location. A plot of this data is shown below.
Now when I fit this to distributions, the best fit seems to be normal or lognormal, but since this ... |
Note: I also posted this question on MATHEMATICS.
For a real gaussian vector, an explicit formula for the cubic expectation can be found in Matrix Reference Manual (search 'Cubic Expectations' in this link for detail), i.e.,
say $a$ is a complex gaussian (vector) process with the mean $E[a] = m$ and covariance $Cov[a] ... |
Using GaussianProcessClassifier from sklearn, is it possible to specify different kernels for different features? For example, $X$ is an n X 2 matrix and I would to use the RBF for the first column and DotProduct for the second column. I think what I have below is combining everything.
kernel = ConstantKernel(1.0) * ... |
I have a simple (maybe not) issue about the interpretation of the link between Fisher information matrix and its inverse which is the covariance matrix.
How to formulate that a line of Covariance matrix by Element-Wise Multiplication with the correponding column of Fisher matrix will give the value 1 (product of both m... |
James, Witten, Hastie, Tibshirani on page 35 of their book state with reference to the figure below:
In Figure 2.11, the true f [given by the black curve] is substantially
non-linear, so no matter how many training observations we are given,
it will not be possible to produce an accurate estimate using linear
regressi... |
I'm trying to understand (and implement) the YOLOv2 loss function, which is not given explicitly in the original paper.
There are several posts on this topic, but quite a few seem to confuse the YOLOv1 and YOLOv2 loss functions.
The following discussion of the three contributions to the loss function is based on Yumi's... |
I wish to train the ANN and use regularizers to avoid overfitting. I need some suggestions, is it mandatory to normalize the data before using L1, L2 regularizers. I would highly appreciate if you can cite book/article with suggestions.
|
When building and developing a model with lavaan, e.g.,
model <- '
LV =~ manifest1 + manifest2 + manifest3 + manifest4 + manifest5
'
fit <- cfa(model, data = dat)
the modification indices suggest I should allow the manifest indicators to covary e.g., I get:
manifest1 ~~ manifest2
manifest2 ~~ manifest3
as sug... |
This is the problem that I have tried figuring it out for a while, and I still need some advice because there is no explicit derivation in the textbook that I have seen so far. The problem looks easy to me at the first place, but, after pondering, it makes me feel uncertain. The issue is the derivation of exact distrib... |
Sorry if this isn't explained in the best way. I have very basic knowledge of time series analysis so my question may sound very simplistic or might be missing the big picture of this type of analysis.
I have data set of multiple time series (5 variables) for about 22000 subjects. I have 6-20 observations for each time... |
The dataset I'm working with has additive fixed effect where each term is significant. I want to plot the model fit with one of the factors temp here on the x-axis and the y.var in the y-axis.
I was made aware of a cool way of visualizing interactions of fixed effects in ggplot2 here. I tried to follow a similar recipe... |
Consider the following model for aggregate claim amounts $S$:
$S=X_{1}+X_{2}+...+X_{N}$
where the $X_{i}$ are independent, identically distributed random variables representing individual claim amounts and N is a random variable, independent of the $X_{i}$
and representing the number of claims. Let $X$ have mean $\mu_{... |
In diagnostic testing, sensitivity $S$ is the probability that the test gives a positive result given that you have the condition being tested. From a simple random sample of people who take the test, an estimate for sensitivity is $s=n_{++}/n_{+}$, where $n_{++}$ is the number of people in the sample who test positive... |
This question is very basic, but I cannot figure the error in my thinking. According to the author of the book "Pattern Recognition and Machine Learning", we can get the Probability Distribution Function of a distribution in the form of histograms by
"simply divide $n$ (the number of observation for one bin) by the tot... |
I have a process that generates values for variables $x_{1}, x_{2}, \dotsc, x_{n}$ where $n \approx 40$, and the value of each $x_{i}$ lies between $0$ and $1$. The process generates these in batches of $100$ each. That is, one output of the process is a $100\times n$ matrix $X$ where the $j$th column of $X$ forms the ... |
If $A = A_0 \pm \sigma_A$, $B = B_0 \pm \sigma_B$, and $f = \frac{A}{B}$, the normal error propagation goes like (following Wikipedia)
\begin{equation}
\sigma_f = \sqrt{\sigma_A^2 + \sigma_B^2 - 2\sigma_{AB}}
\end{equation}
How to propagate the uncertainties for parameters whose upper and lower uncertainties are diff... |
I have a continuously differentiable function $h:[\underline{x},\overline{x}] \rightarrow \mathbb{R}$, and a continuous random variable $X$ distributed according to a cdf $F$, with full support on $[\underline{x},\overline{x}]$. We know that $h(\underline{x})=0$. I am trying to solve the differential equation
$$2h'(x)h... |
let $\theta \in \mathbb{R}^d$ be a random variable having a strictly log-concave probability density function, i.e
\begin{equation}
p(\theta) = e^{-\phi(\theta)}
\end{equation}
where $\phi(\theta)$ is a strictly convex function. $p(\theta)$ is an intractable distribution (contains an intractable integral) I can only co... |
I have tried to prove the following problem that I read in the lecture and it seems not transparent to me.
Suppose that $Y_{i}$ be independent random variables (with $i=1,2,3, \dotsc$). Each has the following probability density function.
$f(y)=
\begin{cases}
\frac{1}{c} & \text{for $y \in (0,c)$}\\
0 & \text{elsewher... |
I have a model that predicts disease in Group A with a ROCAUC of 0.90.
That same model also predicts disease in Group B with a ROCAUC of 0.90.
However, at an operating threshold of 0.5, the sensitivity/specificity differs dramatically between the two groups. Groups A and B are identical in regards to age distribution a... |
If we let $\underset{k\times 1}{\boldsymbol{X}}=(X_1, \dots, X_k)' \sim MP^{(k)}(\boldsymbol{0},\boldsymbol{1}, \alpha)$ where MP denotes a Multivariate-Pareto distribution, with joint survival function:
$F_{\boldsymbol{X}}(x_1, \dots x_k)=\left(1+\sum_{i=1}^k (x_i-\mu_i)/\sigma_i\right)^{-\alpha}=\left(1+\sum_{i=1}^k ... |
Two formulations of the elastic net regression function
Consider sklearn's implementation of elastic net regularisation (Wikipedia link). From the docs, it works by minimising the following objective function:
1 / (2 * n_samples) * ||y - Xw||^2_2 [OLS part]
+ alpha * l1_ratio * ||w||_1 + 0.5 * alpha * (1 - l1_ratio) * ... |
I have an amalgamation of independently collected datasets covering a large area of ocean where surveys to count birds have occurred sporadically over a long time. Some surveys were from boat, some were from air, and often there is some spatial overlap between these efforts.
I want to link the bird counts to environmen... |
I'm quite new into the DL and ML field.
I'm training a CNN able to classify 3 different classes, however I would like in the testing phase to make the CNN able to not misclassify images that do not belong to any of the three classes.
I understand that the network will always provide one of the three class for any input... |
Here's the situation.
I have 3 set-ups: A, B, and C
I want to measure 2 variables in all of them (pH and alcoholic content) over time
I want to know if the pH level or alcoholic content in A is significantly higher or lower than the one in B or C based on their time trends.
I don't want to look for an equation or anyth... |
I have fit a linear mixed-effects model using lmer. The model includes 1 categorical predictor variable, 2 continuous predictor variable, all interactions, and a categorical random effect. To test for significance of each main and interaction effect, I am using car::Anova. But I am having trouble figuring out whether t... |
The univariate version of the Lyapunov CLT (a version of the CLT for independent but not necessarily iid random variables) is as follows according to Wikipedia:
Is there a multivariate version of the Lyapunov CLT (ideally one that doesn't require the means of the random variables to all be zero vectors)? I'm having a ... |
I’m working through an online example that explains spectral analysis in R. Let’s say you have a complex wave:
t <- seq(0,200,by=0.1)
x <- cos(2*pi*t/16) + 0.75*sin(2*pi*t/5)
then the periodogram:
del<-0.1 # sampling interval
x.spec <- spectrum(x,log="no",span=10,plot=FALSE)
spx <- x.spec$freq/del
spy <- 2*x.spec$spec... |
I am testing the hypothesis that male and female have a different timeline of withdrawal behavior, such that either males or females experience greater withdrawal symptoms from morphine across 12-24-36 hours. As well as testing the hypothesis that ketamine will reduce the severity of withdrawal symptoms.
For my experim... |
I want to derive a correlation matrix such that block1 is 0.1 within itself, block2 is 0.1 within itself and 0.7 with block1, and the remaining variables are 0.01 within itself and with other blocks as follows. But I am facing non positive definite matrix problem. How can I get around this problem by preserving existin... |
I'm looking for the derivation of the F distribution. There is a fairly understandable (for me) derivation presented on this site: http://www.milefoot.com/math/stat/pdfc-fdist.htm.
On this site, the derivation is as follows:
Suppose that $X$ and $Y$ are independent random variables, with PDFs $f_X(x)$ and $f_Y(y)$.
... |
I want to study the impact of highways on deforestation. I am using annual data on forest cover. I define my deforestation/forest loss variable as a change in forest cover and if the change is zero or positive my deforestation/forest loss variable is zero. Does this imply truncated or censored data and thus requiring t... |
I'm trying to understand how the Covid vaccination status is affected by vaccination camps run by the factories (units) that employ them. My independent variables is the number of vaccination camps run by each factory, for a week 't'. My dependent variable is vaccination status dummy (vaccinated or not vaccinated, wher... |
Consider the following scenario:
Suppose two lists of words $L_{1}$ and $L_{2}$ are given. $L_{1}$ contains just bad-written phrases (like 'age' instead of '4ge' or 'blwe' instead of 'blue' etc.). On the other hand, each element of $L_{2}$ is a well-written version of each element of $L_{1}$.
Here is an example:
$$L_{1... |
Starting from text I'd like to be able to identify specific informations.
Example :
Input texts : "The invoice number is 18", "Inv : 75", "Inv N. : 84"
Identified invoice numbers : "18", "75", "84"
The concrete problem is I have a lot of documents containing lots of this information and I would like to use an algorithm... |
I am trying to run a BVAR on 5 variables. Four out of five are non-stationary. So shall I do the first difference of the non-stationarity variables or take them in level for running the BVAR?
And what are diagnostic tests I can perform on BVAR estimation?
The online resource on BVAR is lacking.
|
I have a series of health parameters e.g. heart rate, age, blood pressure, blood glucose level of >1000 patients with heart disease. I want to determine which parameters can predict the likelihood of an individual suffering from heart disease. Once I determine the best combination of these parameters, I can use this fo... |
Is there a recommended approach how the results of an rule-based expert system can be combined with an ML model?
Let's say you have a text classification problem with 100 classes. For some classes you have only very little training data, but pretty accurate keyword-based rules, while for other classes you have plenty o... |
We are using a propensity score model to built a control group in an observational study. We have tried several options and a 1 to 5 matching ratio with replacement ensures the best covariate balance.
Using replacements leads to high level of reuse. The treated group size in 2200 and the most reused individual in the m... |
I'm reading about Gaussian Processes (GP) and specifically about scalable Gaussian processes, namely Stochastic Variational Gaussian Process (SVGP).
I've been using the GPFlow-library for implementing GP regression for big data, and the example code I've been using can be found from this source: https://gpflow.github.i... |
I'm working on a cox proportional hazard analysis in R using the survival package.
I´m analysing covariate effects on fish movement within a study area. The study area is divided into two zones ("A" & "B"), each zone is analysed separately. I will focus on zone "B" to make it easier to explain. In zone B 3 different ev... |
I had a similar data set to what I posted yesterday. I run a Cox-regression model to find the Harzard Ratio between group of interest. I had one group having no event and once that group was set to reference group, the Hazard ratio was just massively large and I received waring from R too. My reference group is flexibl... |
Let's say there is a card collection that is made of 1,000 different cards. I start calling my friends and each of them brings 15 random cards to the collection. The first friend will bring 100% new cards, the second will bring ~99% new cards, etc.
What would be the formula to estimate the number of "new" cards brought... |
I am developping the prediction model with many parameters.
As I was not satisfied by the performance of Random Forest Regression, I tried to use
k-means clustering to regroup the similar variable and applied LIGHT GBM to each cluster.
It improved 16% in terms of RMSE and I was happy.
However, I cannot understand how i... |
Ok i almost freak out of this!!!! i've to doing some presented about this paper (M.D.MCKAY,J.BECKMAN, W.J.CONOVER (1979). It's about comparing methods for selecting values (Random Sampling, Stratifed Sampling, Latin Hypercube Sampling). But i really got a problem to find out and understand this proof in the paper.
Basi... |
This question is related to this one which was not answered.
The curse of dimensionality states that in high dimension every distance between pairs of points tends to be the same. See this answer for more details. UMAP computes distances in the high dimension space to define the neighbourhood of each point. This neighb... |
I have a date set with 3 imbalanced groups: 10%, 3%, and 88%.
I am using the SMOTE algorithm (in the R SMOTE family package) to up-scale the 2 minority groups.
I did this twice:
dup_size = 3 and 6 respectively for each minority group. This new groups are: 27%, 13%, and 60%
dup_size = 6 and 25, resulting in: 31%, 30%, ... |
Predicted probabilities are quite helpful to interpret the output of logistic regressions. One can compute a predicted probability as follows:
$$
P = \frac{exp(\beta + \beta_0)}{1 + exp(\beta + \beta_0)}
$$
where $\beta$ is a given coefficient and $\beta_0$ is the intercept.
I am trying to compute the predicted probabi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.