instruction
stringlengths
9
38.7k
$E[\theta|\theta\leq w]$ Will this be simply considered as the $E[\theta\leq w]$? If yes, how will that be done?
How exactly does identification of Granger Causality (or lack of) between variables affect my decision for what variables to include in my VAR or VECM model? The motivation behind the question is such: I've ran a couple of standard macroeconometric models testing the impact of interest rate on Inflation rate along si...
I am trying to calculate the following expression: $$ Z = \mathbb{E}\left[\left| \langle \mathbf{a}, u \rangle \right| \right] = \left| \sum_{i=1}^d a_i u_i \right|, \quad \left\| u \right\| = 1 $$ where $a_i$ are i.i.d random variables sampled from the truncated normal distribution with endpoints $[- c\sigma, c\sigma]...
I’m a little confused. I have seen that Batch normalization leads to faster convergence and increased accuracy. But the opposite is happening in my case. By normalizing, my accuracy actually decreased. Is there something that I am missing? Following is the code that I’m using model = Sequential() model.add(Bidirectiona...
Suppose I have a 2 by 2 table and I am trying to conduct a Fisher's Exact Test. I am wondering when the two-sided test is used versus a one-sided test. In programs like R, they have greater, less, and two-sided. In most cases, I would only use either greater or less depending on the direction. However, when is the two-...
The Tweedie distribution have variance like var(y) = $\phi \mu^p$ for any real p not between 0 and 1. I read in many places (even wikipedia) that p can take any real value except between 0 and 1. That seems weird and I don't understand why. I have read the usual reference which is Jorgensens book the "Theory of Dispe...
What does single deep neural network means? I did an object detection project using tensorflow though I am certainly lacking in knowledge about how it works. I am new to machine learning and I've been reading about CNN recently while doing my project and I am now trying to understand how SSD works and I've read about s...
I have a some datasets that I want to take an average of - a typical dataset might look something like this: 0 0 0 1 100 100 10000 30 10 10 0 0 0 0 0 Ordinarily I would use the geometric mean for something like this - but unfortunately I have a lot of zeros in there. I don't want to use the median because the truly ex...
In this answer, the Cholesky decomposition of a correlation matrix is suggested as the means for testing for multicollinearity. I have a dataset that I am certain has high collinearity. I did the analysis and got results. Given adj as a correlation matrix for 151 features, >>> np.diag(np.linalg.cholesky(adj)) array([ ...
Given a beta-binomial random variate $X$ with $N$ known, how can I choose $\alpha$, $\beta$ such that the distribution's mean matches a chosen quantity $\mu$ and its variance matches a chosen quantity $\sigma^2$?
Consider the model $ \mathbf{y} = f(\mathrm{X}) + \epsilon $. Here $\mathrm{X}$ is a fixed $n \times d$ data matrix, and $\epsilon \sim \mathcal{N}(0, \sigma^2 I)$ is iid Gaussian noise. Assume that $\sigma^2$ is known. First, consider modeling this using a Gaussian process i.e. $f \sim \mathcal{GP}(0, k)$. Then it ca...
I have two questions regarding Multivariate Adaptive Regression splines (MARS) 1) How is intercept interpreted in MARS? In linear regression, my intercept is shown in the image below In a linear regression, the intercept is simply the mean response if the x is 0. How is an intercept interpreted in MARS and which one o...
I need to check second order stationarity of a time series of length 7320 (I have 1800 such time series). These time series are displacement recorded at 1800 sites on a mountain. I tried using Priestley-Subba Rao in R : stationarity(). For 1 time series out of 1800, I got these values: p-value for T : 2.109424e-15 p-v...
I see sometimes people using two different ways to specify the random effects when conducting multilevel modelling with lme4 in R. model1 <- lmer(fix1 + (1|cluster1), data = dat) model2 <- lmer(fix1 + (1|fix1:cluster1), data = dat) Judged by my limited knowledge of multilevel modelling, people seems to use the these t...
When we use deep neural networks (DNNs) to solve a 1-dimention regression problem, we can approximate data distribution with the output of a DNN like the picture below. My question is that DNN does not have the assumption of gaussian distribution or any other distribution of itself. It just knows what value to output w...
In Elements of Statistical Learning in equation 3.11, the distribution of (sum of prediction errors) is approximated to actual error variance * chi-square distribution of $N-p-1$ degrees of freedom. Can you please explain how this approximation happened? $$(N-p-1)\hat\sigma^2\sim\sigma^2\chi_{N-p-1}^2,\qquad (3.11)$$ $...
Suppose there is a large but finite population with values drawn from some heavily skewed distributional family with finite mean. I am supplied exogenously with the value of the 95th percentile, q. I now draw a conditionally random sample of members of the population with values greater than q. I wish to use this sampl...
Does the universal approximation theorem for neural networks hold for any activation function (sigmoid, ReLU, Softmax, etc...) or is it limited to sigmoid functions? Update: As shimao points out in the comments, it doesn't hold for absolutely any function. So for which class of activation functions does it hold?
Example: Given two groups of people (considerably large, and sampled independently and randomly), with the following individual attributes: Age Height Weight Education How to test if the two groups are drawn from the same population? For example, consider the following proposal: Null hypothesis: the two groups are fr...
Suppose you have observations which, over the observed range of outcomes, are well-fitted by some distribution like the Pareto that, for certain parameter values, has a an infinite variance. For example, the famous (but not especially accurate) "80/20 law" implies a tail index of about 1.16, well into the infinite-var...
My data set are like this DF1 DF2 DF3 DF4 ....... DF50 A B B A C A A C B B C A A B B . . . . . . . . . . . . . . . F ...
Let the joint distribution of $x$ and $y$ has been given as: $f(x,y)=\frac{e^{\frac{-y^2}{2}}}{y \sqrt{2\pi}}$ where $0\leq|x|\leq y \ <\infty$. It is required to obtain the mean and variance of the random variable $X$. Although, I have solved these types of problems but in this one I am having trouble beacuse the exp...
I would like to know why logistic function is chosen for classification. After reading the original paper developing logistic regression by David Cox, I can understand the benefits of using the logistic function. However, in the 1950's, were there alternatives to the logistic function could help David Cox? If there was...
I'm looking for a closed form expression for $$\mathbb{E}\left[\Phi\left(aZ+b\right)^{k}\right] = \int_{-\infty}^{\infty}\Phi\left(az+b\right)^{k}\phi(z)\,dz$$ where $a$ and $b$ are real numbers, $k>0$ is an integer, $Z\sim\mathcal{N}(0,1)$, and $\phi(\cdot)$ and $\Phi(\cdot)$ are the density and distribution functions...
I'm reviewing a paper that contains the following expression: "$...=\int_{y-0.5}^{y+0.5}\mathcal{N}(t|0,\sigma)dt$ , which can be evaluated in closed form" As far as I know, the CDF of the normal distribution has in general no closed-form expression. In this case, $\sigma$ is not known ahead of time and y is known to b...
I have created my CNN model which takes data from training set folder and from test set folder, now in each training set folder I have added some sub folders to both the folders. I have trained my model on given data but what if I want to expand the learning of my model? If I add another folder in my training set and i...
I work with python and images of tables (taken from above). My aim is to take a photo of a random table and then find the most similar tables to it in my database. Obviously, the main feature which distinguishes the tables are their shape (square, rectangular, round, oval) but there are also other details. For now, I a...
According to my experience, the non-parametric term usually refers to algorithms complying the following definition from a clasic textbook [1]: A learning model that summarizes data with a set of parameters of fixed size (independent of the number of training examples) is called a parametric model. No matter how m...
I'm new to econometrics,but for my university project I have to interpret the results of this equation: \begin{align} \ln(bil.export)= b_0 + b_1 \ln(Dist)+ b_2 ln(pop)+b_3 ln(per.cap.GDP)+ b_4(UEcount)+b_5(landlocked)+\ldots+b_{12}(East Asia and Pacific)+ b_{13}(Europe \& Central Asia)+ b_{14}(Latin America \& Caribbea...
The assumptions for 2SLS are (z are the vector for instrumental variables; x are the explanatory variables in the model; u are the vector for the error term): Assumption 2SLS.1: E(z'u)=0, Assumption 2SLS.2a: rank(z'x) = k Assumption 2SLS.2b: rank(z'z) = m m is the number of available instrumental variables; k is the nu...
According to this pdf, when number of instrument variable equals to the number of endogenous components, the model is said to be just-identified; if number of instrument variable is bigger than the number of endogenous components, the model is said to be over-identified. I have these questions regarding this statement:...
This is my first post & I'm fairly new to GAMs; apologies. I ran a series of 16 generalized additive negative binomial models (gam, family=nb, mgcv package) with increasing complexity that modeled the abundances of 12 fish species (independently) as functions of several environmental metrics (and their combinations): ...
I have taken a few econometrics courses and I know some things about distributions; things like skewedness, kurtosis, ect. However, there are other areas regarding distributions that I know I am weak on. I am particularly confused with the great variety of distributions out there. Surely, there is a plethora of choices...
There is a lot of material explaining how to calculate the jacobian for the softmax backwards pass, but I find it confusing how to get to the actual errors from the jacobian. The obvious answer would be to sum up the either rows or the columns - it does not matter since the matrix is symmetrical, but analytically it se...
You always hear that correlation does not imply causation. But taking a Bayesian perspective, can one counterargue this statement? I was reading the paper linked below (Bayes-Ball argument), and it seems that it isn't true to say that correlation does not imply causation. Am I wrong to tell students that correlation d...
There is convention concerning the use of asterisks to represent levels of significance. I am sure there are others, but let's stick to this one for now: Convention for symbols indicating statistical significance? * P ≤ 0.05 ** P ≤ 0.01 *** P ≤ 0.001 **** P ≤ 0.0001 I usually read this as * Ther...
I have run a series of analyses aiming to explore the association between a clinical score (it is a scale that goes from 0 to 15) and selected study outcomes. It is an imbalanced individual level panel dataset but not all individuals are present at every time point, therefore, I fitted mixed-effect regression models. B...
I am running a regression like below: $Y = \beta_0+\beta_1X_1+\beta_2X_2 +\beta_3X_3+\epsilon$, where $X_1$ is a gender dummy and the result shows it has NO statistic significance. Then I added one more variable $X_1\cdot X_3$ to the model above (with the purpose to test whether the effect of $X_3$ on Y differs by gend...
I have a prediction model that performs a binary classification. The model takes 3 independent predictor parameters variables that can only be integers. I have calculated true positive rates (TPR) and false positive rates for each combination of three predictors. Each dot in the figure below represents TPR (y-axis) vs ...
Are there any classification algorithms that can be hinted on business logic? Suppose I have historical information of states a particular object has been and my target variable is tomorrow's state, but states can only increase. For example: ------------------------------------- | day1 | day2 | day3 | day4 | -...
I have a data model whereby random vector $c = a + b$ with unknown distributions and zero means. I can empirically obtain an estimate of $E[cc^T]$ and $E[bb^T]$. For posterity, $E[cc^T] = E[(a+b)(a+b)^T] = E[aa^T] + E[ab^T] + E[ba^T] + E[bb^T]$. I would like to obtain a lower bound on $\frac{w^TE[aa^T]w}{w^TE[ab^T]w+w^...
Suppose that the proportion θ of defective items in a large manufactured lot is known to be either 0.05 or 0.15, and the prior pmf of θ is as follows: ξ(0.05) = a and ξ(0.15) = b. Suppose also that when n = 10 items are selected at random from the lot, it is found that X = 5 of them are defective. (a) Determine the val...
I used both XGboost and random forest for a two-class classification. with random forest accuracy is 77% with XGboost accuracy is 71% when you feed a sample to random forest model it says probability score for class 1 is 51% and for class 2 is 49( almost for every example probability score is near 50%) but when you ...
Consider the following simplified sample dataset representative of the complex dataset. The alphabets a, b, c .. represent any word in English vocabulary. X1, X2 and Y1 are the actual classes they should be assigned which have been broken down into hierarchies as shown in the table below. It is evident from the sample ...
I have been building a predictive model using Decision Trees. The data is highly skewed (only 2% of the target variable is "Yes" and others are "No") and I have to increase the precision for "Yes". I am using Rattle , a tool built on R (which in turn uses rpart library) for decision trees. I am using a prior of (0.9,0....
In the paper Matrix Factorization Techniques for Recommender Systems Koren, Bell and Volinsky describe how the matrix $R_{n \times k}$ (users $\times$ movie ratings) can be decomposed to $P_{n \times m}$ and $Q_{m \times k}$ matrices using a matrix factorization that uses stochastic gradient descent. So we approximate ...
I learned to use autoencoder and variational autoencoder for images, and I would like to apply these techniques to other types of non-image data, such as common tabular data we can find in Kaggle contest, for denoising and data generation. However, now I have a problem with a general dataset for this kind of generativ...
Problem: Write a parametric bootstrap algorithm to compute the uncertainty in $\hat{\tau}_{MM}$ using 500 bootstrap samples. Now, $\hat{\tau}$ is an estimate of the parameter in my PDF of a Rayleigh distribution: $$f(x)=\tau x \exp\left(\frac{-\tau x^2}{2}\right)$$ calculated using the method of moments. From what I kn...
We know that any matrix of the form $A^TA$ is positive semi-definite where $A^T$ is the transpose of $A$. Now how can we use this result in optimization? Edit: The importance of positive semi-definite matrices is almost clear, but my question is specific to $A^TA$. I have no idea of how we can use this matrix.
I am working with an unbalanced data set where most subjects have only 1 observation, but many have >1. When I fit a linear mixed model to these data (random intercept), there is a strong pattern in the residuals vs. fitted. I was able to duplicate the problem with simulated data (below). The linear pattern seems ...
I can think of at least one naive example. Suppose I want to study the relationship between X and Z. I also suspect that Y influences Z, so I control for Y. However, as it turns out, unbeknownst to me, X causes Y, and Y causes Z. Therefore, by controlling for Y, I "cover up" the relationship between X and Z, since ...
I ran a multiple regression with six independent variables (A-F) and an Intercept. None of the independent variables has a VIF to worry about but the Intercept VIF is way too large: **VIF** **Variable** 0 27.689838 Intercept 1 1.094412 A 2 1.203059 B 3 1.271636 C 4 1.182821 D 5 1.000848...
The "Sig." column in SPSS output for t-test is a two-tailed p-value, i.e. if one want to decide whether to reject a null hypothesis, they need to compare the predetermined significant level with the "Sig." value divided by 2 instead of the value itself. What about the SPSS output for F-test? It seems that it is a one-t...
My question concerns the feasibility of applying a hurdle model when my dependent variable is not exactly a count, but a "weighted count". More precisely, my weighted count variable (Weighted_Intrusions) is the product of the following: Weighted_Intrusions = Number of Intrusions (count variable) * Associated Distress (...
I need someone proficient enough in stats to help me clear up some confusion. The p-value is a conditional profitability. Given a null hypothesis to be true (mean difference in two groups to be 0), the p-value is the probability that chance alone caused the next observation to be outside of the statistical model. When ...
Suppose that there are 5 blood types in the population, named type 1 through type 5, with probabilities p1, p2,. . . , p5. A crime was committed by two individuals. A suspect, who has blood type 1, has prior probability p of being guilty. At the crime scene blood evidence is collected, which shows that one of the crimi...
How can we trust the significance tests for any of our factor loadings, or even the correlations matrix, when so many tests are run in factor analysis? Especially for IRT models where we may be analyzing multiple items in a scale.
Let $X$,$Y$ and $Z$ be three bernoulli $\left(\frac{1}{2}\right)$ random variables such that $X$ and $Y$ are independent, $Y$ and $Z$ are independent and $X$ and $Z$ are independent . Show that $$P(XYZ=0)=\frac{3}{4}$$ if and only if $ Z = \left\{ \begin{array}{ll} 1 & \mbox{if $X=Y$};\\ 0 & \mbox{if $X\not=Y$}.\end{a...
I'm looking for references that discuss and compare the uniformity of well known hash functions. For example: How does the literature analyze/compare uniformity of hash functions? I.e. what methods and aspects of hash functions are relevant when comparing/evaluating their uniformity? How do well-known hash functions ...
For a negative biomial model, where $Y_i \sim \text{NegBin}(\mu_i, \kappa)$ $$\mu_i:=\log EY_i = \mathbf{x_i} \mathbf{\beta} + \log t_i,$$ is the form of Jeffreys's prior known/published in some way that one could easily implement it e.g. in Stan?
I am studying the effect of expression of a specific gene signature on patient survival, dividing patients into Low, Mid, and High expression of Signature X. The survival curves for these patients all look very different from each other, and I'm trying to get a statistical value to support this statement (patients with...
I want to know the number of rolls or throws of a die or a coin with an equal distribution to get to my desired result with a given probability. In my specific case I want to roll at least one "1" and one "2" on an eight sided die. Before I get one of the numbers, I would have a probability of 2/8 to get one of my numb...
In order to increase your knowledge in the field of computer vision, I would like to create an application that will classify photos with the same pattern but with different colors. Is there any chances to classify images with the same pattern, differing in color? For now I use local binary pattern to create histogram ...
Let's say I have two vectors of different length. Of course, this will fail when I run cor.test in R. x = rnorm(1,3,5,7,2,12,13,14,5,16) y = rnorm(1,4,5,6,7) cor.test(x,y) > cor.test(x,y) Error in cor.test.default(x, y) : 'x' and 'y' must have the same length Obviously, regression also fails in this scenario given ...
Let's say that I want to look at the difference in average income between men and women working the same job, by using an ANCOVA. My independent variable is therefore gender, while the dependent variable is income. I want to control for the age covariate, to account for any differences in the average age between men an...
I am learning XGBoost these days. I read a lot of slides/tutorials. However, most of them focus on how a tree grows internally, e.g., how the split is made. I couldn't figure out how the 'forest' grows in xgboost --- in the end, it is a forest-based algorithm. My guess is that, XGBoost relies completely on hyper parame...
I googled most of topics over the Internet, and Convolution Neural Network is prevailing to apply to image/pattern recognition. Perhaps, it is more easily to understand the concept of this methodology. What if my dataset is composed of quantitative variable e.g., age,duration: last contact duration, in seconds (numeric...
Just ran this command qnorm in Stata to plot a qqplot of my data. Y Axis = my observations X Axis = quantiles of Normal distribution However, Stata uses "inverse normal" as the X axis of the qqplot. Why is it more useful to use the inverse normal than the normal itself?
I am working on a project that looks at the relationship between an indicator (economic/social/health) (x) and an outcome (teen pregnancy/infant mortality) (y). I ran linear regression on the variables and it returned coefficients for the equation. The data is at the neighborhood level. The purpose of the project is t...
Given PDF and CDF of a distribution, how does one find an approximation of $(\operatorname{Var}(X_i))$ using a normal approximation of $(X_i)$? According to "Mathematica Laboratories for Mathematical Statistics" by Jenny Baglivo (Theorem 9.1 on page 120), it is said that: $\operatorname{Var}(X_i) \approx p(1-p) / (n+2...
I'm a beginner in CNN and I'm trying to create my own Network, but I have a question in case you've been through this. Imagine we have thousands of pictures of human heads (hair, face and neck) and you're only interested in classifying them with a ROI (Region Of Interest) of their forehead and cheeks. Obviously the ROI...
I am a Math Phd student and a Teaching Assistant for Statistics in Psychology Deparment. The problem I have is to determine the level of measurement. Let me first present the question: Assume that a researcher measured self-esteem and obtained the scores 49, 53, 67, 20, 27, 36, 49, 27, 61, and 28. Determine the level ...
We know that that underpowered studies lead to overestimated effect sizes (conditioned on statistical significance). See here, here, and here for discussions on this topic. Now, let's suppose that the true effect size $e$ is much smaller than the minimum effect size $E$ that we use in the power calculations. As I under...
Is there a way to compare model performance in the caret package by combining the resampled predictions from every fold/repeat? I am working with a small (<1000 rows) and severely imbalanced (4% positives) data set and I am primarily concerned with precision (using prSummary as the summaryFunction). When I use 10-fold ...
I have the following regression $$y_i=a+bx_i+cz_i+dw_i$$ a, b, c, d are coefficients. x is endogenous.z and w are exogenous to errors. My question: What parameters could be adjusted to vary the severity of the endogeneity problems in the regression?
It's commonly said that ANN's are modeled after the brain, but as we know, neurons are also found elsewhere in the human body. So if someone was being provocative and said that ANN's could equally well be modeled after the appendix, what are some good reasons to reject this logic? In other words, how does the architect...
I would like to understand how one gets the same coefficient estimate from 2 different model specifications. Consider single difference estimation model: $y_{\{Time=1\}}=\alpha+\beta_3 \textbf{Treatment}+\beta_4 y_{\{Time=0\}}+\epsilon, $ where $time:\{0,1\}$ or simply before/after and $\textbf{Treatment}:\{0,1\}...
I have following two regression models $$y_i=a_1+b_1x_i+c_1z_i+d_1w_i$$ $$x_i=a_2+b_2y_i+c_2z_i+d_2w_i$$ z and w are exogenous to both errors. And I have endogenity problem. How can I solve for a reduced form model in terms of coefficients of the two models.
I have a data set of 20 million records, which I need to assign to 200 categories. (Business language - based on the text description, I need to assign it to one of the 200 departments). Suppose I have to use (multinomial) logistic regression, how can I handle such huge number of target categories? To generalise, for...
I've recently been benchmarking different methods for feature selection, and found a weird issue when using forward stepwise regression. Specifically, when I train a sparse logistic regression model using forward stepwise selection (with AIC as my selection criterion), I can obtain a model with an AUC < 0.500. I've inc...
My dataset has a really high ratio between positive and negative class (neg/pos≈1000). My current objective is making prediction of positive class as high as possible. Is it reasonable to use Binary Cross Entropy to evaluate my classification model with this unbalanced dataset ?
I recently came across a fascinating article about predicting future stock market returns. The author presents the graph below and cites an R^2 of 0.913. This would make the author's method far superior to anything I have ever seen on the subject (most argue that the stock market is unpredictable). The author descri...
I'm learning statistics with SPSS. I have a test case where I need to analyze using regression linear method, I'm not sure if I can explain clearly so please refer to the picture. My understanding is to define the input into multiple-response set and then analyze the set using the regression linear method. Is my unders...
Each day the price of a new computer stock moves up one point or down one point with probabilities 0.75 and 0.25. What is the probability that by the end of the sixth day the stock will have returned to its original price (the price today, day 0)?
I generated an error in r u1<-rnorm(n, mean=0, sd=1); And I want to generate a random normal variable x ~ i.i.d.N(n, 0, 4) but this is not correlated with u1 i.e. corr(x, u1)=0 How can define this in R
Say that I have a univariate time series X(t) that I want to forecast using RNN/LSTM. I have 2 years of weekly sales data that is seasonal. How many hidden layers and neurons in each layer do I need ? Are there any rules or heuristics for this? I assume the seasonality and the number of weeks of data would be relevan...
Say I have a data set with the following measures Number of vacation days (NumDays) Accommodation costs (Accom) Total Drinks costs (Drinks) Total Meals costs (Meals) Total Travel costs (Travel) Total cost (TotalCost) = Accom + Drinks + Meals + Travel I also have a number of categorical variables including Nationalit...
I have a data set (x1,y1),(x2,y2),...,(xn,yn) and will do a simple linear regression with unequal variance assumption. (If you see the scatterplot of x-y, then the range of y increases as x increases) I need to know what would be the value of y (and its variability) when I am given a new x. Then what would be a best c...
What would be the difference between using a k-NN classifier and logistic regression for the MNIST data set (large database of handwritten digits)? Edit: I used both methods in python (built-in functions in sklearn). I used iterations to find the k that gave the greatest accuracy. It turned out that k-NN achieved grea...
I wonder if anyone can advise me on how the issue of age should be handled when identifying diagnostic biomarkers, combining them (e.g. via logistic regression, lasso) to obtain a signature to improve diagnostic ability and obtaining a valid estimate of diagnostic ability (e.g. AUC) maybe in a fresh diagnostic data set...
I want to reshape my dataframe to be able to group by two variables. Currently, my dataset looks like this: And basically want it to look like this: with gender being the grouping variable. Basically, what I want to do is to create a grouping variable for each observation in my date variable. All I seem to find from ...
This might be a trivial question I have a probabilistic model, say a Gaussian mixture model of known parameters, and with that I have a set of defined sample points. I would like to know how likely it is that the sample points were generated from (i.e. that they match) that model. What would be the theoretical solution...
set.seed(123) n <-1000 stage <- rbinom(n,1,0.5) age <- rnorm(n,68,20) sofa <- round(rnorm(n,10,3))#0-24, an unobserved variable percent <- 0.5*stage+ rnorm(n,0.7,0.01)- 0.001*age-0.03*sofa linpred <-0.1*sofa- percent+ 0.01*age-1.1 prob <- exp(linpred)/(1+exp(linpred)) mort<-ifelse(runif(n,0,1)<prob,1,0) dt<-data.fram...
I have two different sets of images , one we have water mark that we want to keep and other set of images we have water mark but we dont want to keep that how can i train i model to detect the watermark images that i want to keep and to detect the images that i dont want to keep since all images has water mark Regards ...
I have a question regarding including my main predictors in the fixed as well as random effects term in a mixed model. I am using R and will provide a sample data set, but I am generally happy for theoretical input on this. The data set is the following: It's a repeated measures dataset with two different interventions...
I have a panel with $N=30$ and $T=30$ (possibly lower, the older data might turn out to be more of a hindrance than help). All of the "classifications" I encountered are very informal, dealing in terms like "small" or "large". From what I gathered, the cases of most theoretical concern seem to be $N \to \infty$ with fi...
I was reading a paper on Bootstrapping with models for count data. (Page 1170) www.researchgate.net/publication/51738951_Bootstrapping_with_Models_for_Count_Data www.ncbi.nlm.nih.gov/pubmed/22023684 On the paper the author uses the conventional MLE to fit Poisson models but also uses some bootst...
I'm currently writing my master thesis and therefore want to examine the psychological well-being in a group of patients with a certain disease. I already looked for psychological variables that were found to be increased in that group of patients. I found 16 latent variables such as depression, self-esteem, anxiety, s...
My question concerns the setup of a mixed model, which is designed to investigate the interaction between two different interventions over time. I will provide a sample data-set in R, but I am generally happy about any theoretical advice. This is the scenario. It's a repeated measures dataset with two different interv...
I'm trying to formulate a spatial regression, and could do with some guidance. For my independent variable, I have multiple discrete observations, each with a latitude, a longitude, and a category. For my dependent variable, I have multiple observations with a a latitude and longitude. I'd like to use my independent va...