instruction
stringlengths
9
38.7k
Consider the following game: You are playing a game where you roll a die and earn $1 each time you roll higher than 1. For the first roll you get a 4 sided die, and for each subsequent roll you get a die with a number of sides equal to your previous roll. What is the largest amount of dollars you are willing to pay to ...
On page 186, the augmented knot $τ$ is used and it says that $τ$ takes all equal values and is equal to $ξ_0$ and $ξ_{K+1}$. Next, the definition of the basis function $B_{i,m}$ says that $x$ takes 1 if it is between $τ_i$ and $τ_{i+1}$, where i goes from 1 to $K+2M-1$. This confused me, $τ_1$ and $τ_{1+1}$ were both t...
What is the correct interpretation of the coefficients from a lasso regression if you standardize ((x-mean(x))/sd(x) the predictor variables? If you observer 4.2 for variable A and -1.2 for variable B does that mean a 1 standard deviation increase in variable A is associated with 4.2 increase in the response variable? ...
I stumbled upon this particular webpage from UCLA containing the following text: [...] Inference from GLMMs is complicated. Except for cases where there are many observations at each level (particularly the highest), assuming that (frac{Estimate}{SE}) is normally distributed may not be accurate. A variety of alternat...
I have 15 variables and 1 output and I have fitted a Random Forest Model. And then connected it to a SHAP intepretation framework. But, I want to find out the combined effect of three bunches of variables B1 - x1, x2 B2 - x3, x4, x5, x6 B3 - x7,..., x15 Variables in B1, B2, B3 have some physical connections with each o...
The standard procedure for outlier detection in time series implemented in almost all statistical software tools is based on regression the time series to candidate regression variables. These regression variables differs is case of additive outliers (AO) and level shifts which are often named innovational outliers (IO...
There has been discussion about this topic (e.g. here, here and this recent question with no answers yet prompted me to ask this as I haven't found a clear answer to this question). So, when fitting multilevel models with level 1 predictors, it is customary, and recommended to cluster-mean center these predictors to di...
It appears to me that in Machine Learning randomly shuffling data is more common than drawing a random minibatch in every step, e.g. for MNIST in julia minibatch_indices = rand(1:60000, batch_size) x_train[minibatch_indices], y_train[minibatch_indices] I am trying to understand why. Quality Randomly shuffling the data...
I understand that, in the case of a highly skewed population and sample, the sampling distribution of the mean can still be normally distributed if the sample size is large, according to Central Limit Theorem. This means that, arguably, the normality assumption of a t-test holds despite a skewed sample, because t-tests...
I just used the gam.scope function in the R-package gam to create possible scopes of each explanatory variable of my model to run a step.GAM. My intuition was to only provide smoothed options of numeric variables. However, gam.scope also provides smoothed options for logical variables. As the function is smart enough ...
Under the CAPM, consider an investment with stochastic cash flows. Does the variance of the return on the investment depend linearly on beta? if not, why so?
I wonder if LDA can be supervised with continuous value. If not, what are the closest variants for such applications?
I have a dataset for 4 treatments (control, fertiliser A, fertiliser B, fertiliser A+B). I have assumed these treatments represent a single categorical factor, and therefore conducted a 1-way ANOVA, however, I now have the seed of doubt that I'm making a mistake. Any advice/reassurance would be appreciated.
For $d\geq 2$, consider the d-dimensional multivariate normal distribution $\mathcal N(x|\mu,\Sigma)$ whose the log of density is given by $$ l(x;\mu,\Sigma)=-\frac{d}{2}\log(2\pi)-\frac{1}{2}\log|\Sigma|-\frac{1}{2}(x-\mu)^\top\Sigma^{-1}(x-\mu) $$ here $\mu=(\mu_1,\ldots,\mu_d)^\top$ and $\Sigma=(\sigma_{ij})_{d\time...
In the context of a study, I am comparing two surgical interventions and I am interested in the time delay before the occurrence of a specific clinical event after surgery. I have conducted a multivariate Cox model with adjustment for two time-dependent binary variables (variables that can change value during follow-up...
I am very new to the spatial model. My question is, what does a stationary spatial random field mean? If I divide the data, say, "meuse" dataset in "sp" package in"R" into equal distance spatial bins, and assume that the marginal distribution at all locations in each spatial bins is the same, then this means that the s...
I am helping to design a study where participants will be randomized to one of three arms -- a control arm, treatment 1 or treatment 2. Within each arm, they will then also receive either no counselling or weekly counselling. This is a 3*2 factorial design. My colleague has proposed that the counselling provided could ...
I analyse physicochemical data from the river and two rows of wells - one located closer and the other further from the river. The study's main aim is to investigate the variability (or heterogeneity) in the contents of the different parameters at the water intake concerning distance from the river. My initial assumpt...
I would like to come back on this "When do we require to calculate the confidence Interval?" since recently a reviewer asked me to provide confidence intervals for metrics regarding my work about object detection (precision, recall, F-score). I have never had this kind of request before and never seen anything like tha...
What kind of standardization of the predictor matrix is needed for lasso? let y be the response variable is it (x-mean(x)/sd(x)) OR (x-mean(x)/sd(y))? Also does lasso require you to standardize the y response variable? This link says you need to standardize both y and x: https://corporatefinanceinstitute.com/resource...
I am reading Gaussian Process for Machine Learning equation 2.9, where it is deriving the predictive distribution $$p(f_* | \mathbf{x}_*, X, \mathbf{y}) = \int p(f_* | \mathbf{x}_*, \mathbf{w}) p(\mathbf{w} | X, \mathbf{y}) d \mathbf{w}.$$ I tried to do it analytically like in equation 2.8 but the terms are all over th...
I am new to mixed models and am unsure about the interpretation of the OR results. I have a significant main effect of OR = 1.08, 95% CI [1.01, 1.16], p = 0.025. How can I interpret this? The variable is a continuous variable that is increased the probability of a hit (binary outcome). So my best guess right now is tha...
I am currently running GAMs with mgcv package and am trying to find a good one by looking at summary() and the visual outputs from gratia::appraise() and gratia::draw(). When I started, I built simple models chosing the most important variables according to my hypotheses and previous data exploration but never yielded ...
I need some guidance on how to analyse the results of a subgroup breakdown in an A/B test. I have the results of an (ongoing) A/B test and need to do an interim analysis on The overall headline results The breakdowns by relevant dimensions. The result is complicated by the fact that the results for the effect-size on...
I have a blood biomarker (BHB) in my dataset with censored distribution (i.e., lower detection limit of 96). I want to use Tobit regression with the Censreg package in R. My objective is to see if there are significant differences in BHB levels between 5 stages (categorical variable). As I need post-hoc pairwise compar...
I would like to unify multiple sample data (of different sizes) into some "unified sample" to evaluate its collective variance. Is this something statisticians do? I thought of unifying multiple samples in the following way : 1.From each data value, reduce the average of the sample it belongs to 2.Then, collect all the...
Is there a correct method to center (mean or median centering) a skewed predictor variable in a multilevel model? The predictor is a skewed, count variable and will feature in a two-way interaction with a binary predictor (primary interest for the study). In most multilevel models, centering continuous predictors is co...
I have access to correlations between my variables of interest and the overall sample size. But I don't have standard deviations so I can't construct a covariance matrix. Can I still run a SEM on the correlation matrix? E.g. using the "sem" function in lavaaan, and specifying the name of the correlation matrix in the "...
I am using package marginaleffects for calculating the AME of an exposure variable on a count dependent variable. I am hence using Poisson (and Negative Binomial as robustness). The dependent variable in this case maps the number of days that pass from the request for a license to the approval, while the exposure is "p...
Some context: I'm trying hypothesis testing using HLM/Multi-level regression modeling for the first time and ran into some problems testing the assumptions on my specified models. All in all I specified two models (using Maximum Likelihood and setting the maximum iterations to 1000000 because the models wouldn't conver...
Intro: I have dropped math since high school, therefore I am trying to describe my question in layman's terms. Please forgive me for not typing the convention notations. I even do not know what is the correct term to put in the Google search bar for doing research. Therefore, any suggestion is greatly appreciated. Scen...
I am trying to understand importance sampling estimators, in particular for off-policy evaluation in reinforcement learning. I am working with the definition: The IS estimator provides an unbiased estimate of π_1’s value by averaging the following function of each trajectory (s_1, a_1, r_1, ..., s_H+1) in the data: de...
I'm interested in using website traffic across multiple URLs to predict a particular company's quarterly sales. Thus this is the mixed frequency data problem because I'm using daily time series(s) to predict a quarterly time series. I only have 3 years worth of daily website traffic which would only be 12 data points f...
I’ve been struggling for several days to find the proper statistical analysis tools for my problem, and I’m hoping for some valuable tips and insight from the internet. I’ve read up on ARIMA(X), Vector Auto-Regression, longitudinal data, panel analysis, etc., and while I feel that I am headed in the right direction, I ...
If I am regressing wages on years of schooling, I can think of this as I am comparing the wages of people with different years of education. But now if I were to add the age of the individual as a control variable -- Is this literally now taking people in the data with the same age, and among those people, comparing th...
This is not assuming a perfect correlation between variables. I believe that the answer is yes as long as r<1.0. (r = Pearson product-moment correlation coefficient.) Bonus: if the question is false at certain correlation coefficients, at what correlation coefficient does this begin to occur?
I am trying to figure out the covariance between sample mean and sample standard deviation. The only related post I can find here is this: asymptotic covariance between mean and standard deviation and there is no definite answer to it. A related post is about the covariance between sample mean and sample variance, whic...
I heard that Bernardo Priors are better versions of Jeffrey's prior that work in multi-dimensions & match frequentist confidence intervals. Apparently they also dodge many paradoxes of other reference priors. I'm wondering which they avoid & which (if any) they still encounter?
Two raters have done conversation analysis, coding all the topics in the interaction for multiple participants. There are multiple topics, but they are predetermined. There are two raters, and both have coded all the data. For instance, rater 1 identified that participant 1 talked to another person about Hobbies three ...
I have data on outcomes collected across several clinics. The outcome is an integer indicating days until treatment initiation. Outcome data were collected at baseline and follow up, and are collected for multiple patients during each period. Note that patients are not followed (ie, patients at baseline are not the sam...
I have a dataset with customer reviews of products and product features. Each customer reviews multiple products, but customers don't necessarily review the same products. The products are similar, they share the same features. I need to prove that different customers value product features differently. I fit a mixed m...
I have a dataset that has 3 levels (institution/provider/1:1 matched pairs) with 18,000 observations. The matched pairs (subclass) were exactly matched within their institution and might receive different providers within the institution. My goal is simple: comparing 7 outcomes (all yes/no) between 2 intervention arms....
I am looking for a way to compare two sets of data in order to find out how similar they are to each other. My application: I try to compare multiple Measurement methods that both measure the sound absorption parameter of a material (Foam, wall-absorbers etc) over frequency (X Axis). The values can be between 0 and 1, ...
I am trying to forecast the mean of a month of daily time series data. I need to forecast the mean of the current month (meaning we have partial data) as well as the next month(s) (meaning I need to forecast the path of the daily time series throughout this month and the next month). Using the modern forecast package a...
I'm reviewing and synthesizing 48 published articles on the same topic (association between x and y). Instead of describing findings based on statistical significance and power, I'd like to be able to compare effect sizes between papers. However, few authors report effect sizes or standardized regression coefficients. ...
Let $y_t = \Delta p_t$ denote a time series of asset returns, where $p_t$ are logarithmic prices. $y_t$ is generated by a heteroskedastic MA(1) process \begin{aligned} y_t &= z_t+\theta z_{t-1}, \\ z_t &= \sqrt{h_t} \epsilon_t, \\ h_t &= \omega+\alpha z_{t}^2+\beta h_{t-1}, \\ \epsilon_t &\sim iid (0,1). \\ \end{ali...
I currently have a 1D-CNN which produces a 1D output due to the dense layers at the end of said CNN but want it to produce a 2D output. Instead of reshaping my tensor elements using tf.reshape, would I be able to use the tf.keras.layers.Conv1DTranspose deconvolution layer as a means of reshaping instead? This makes the...
I want to run linear regression on a dataset who is too large to be loaded into memory. I intend to simply calculate $$\left(\sum_{i=1}^n x_ix_i^T\right)^{-1} \cdot \left(\sum_{i=1}^n x_iy_i\right)$$ but one issue is that my input data is all different scales. If the scale is sufficiently small, it's OK as I can simply...
To provide context with the data, I have several variables $X_1, X_2, \cdots, X_K$ that represent $K$ individuals. When using all of these variables in a multiple regression (with ridge restriction) I get many IVs with coefficient equal to zero, but I wouldn't want that. So, the solution to resolve this was aggregating...
Assume, we have a key that appears in either of the three rooms randomly (red room, blue room, and green room). We have the following probability distribution: P(key appears in red room) = 0.35 P(key appears in green room) = 0.40 P(key appears in blue room) = 0.25 It is intuitive to say that when the key randomly appe...
I understand that all inputs in a batch need to be of the same size. However, it seems BERT/Transformers models can accept batches with different sizes as input. How is that possible? I thought we needed to pad all examples in a batch to model.max_input_size, however, it seems HuggingFace does Dynamic Padding that allo...
I have the following data where rows represent functions and columns represent bacteria. I have 18 bacteria with a total of 160 functions (all funcitons are present in at least one bacteria). I want to find the best combination of bacterial strains that can maximally represent the functions. Appreciate any lead.
I use linear mixed-effects models to analyze my data, where I have a variable C that is used as a response and an explanatory variable in separate studies. In the first study C ~ A + (1|B), I found that A explained 37%, and (1|B) explained 35% of the total variance in C. In the second study D ~ C + A + (1|B), I found t...
In the context of Bland Altman analysis, is it justifiable to take a mean difference as a primary endpoint, but the 95% limits of agreement as a secondary endpoint? My understanding is that in B&A analysis, it's actually the LoAs that are more important because bias can be adjusted for post hoc, but the LoA spread woul...
I am pretty new to R and am having some trouble finding a straightforward solution to overdispersion in a GLMM with binomial distribution. I have a few different questions listed here. I am mostly finding information that does not consider a random effect or tries to correct for it in a way that I don't understand (and...
I am working on convolutional neural network regression problem using U-Net architecture for computing poisson equations. The input data is particle distribution (rho) and the output is electrical potential (phi). After training, i try to predict using arbitrary rho. But why the resulting prediction is mimicking the te...
Cosine similarity can be used to measure the similarity between two vectors that encode the user preferences with the following values: 0: No user feedback (e.g. the user never viewed a merchandise) 1: Positive user feedback -1: Negative user feedback So the similarity between two users can be: cosine_similarity([1, ...
I'm more confused as to which $N(X)$ of the natural spline the recursively derived basis function corresponds to
Assuming iid samples x ~ N(theta, 1), we have a sample of 5 observations with maximum value = 3. How to calculate the likelihood?
I'm running an A/B test, where control has default experience and the test variant has personalised experience. The users I am targeting randomly are lapsed users on a particular subscription and testing whether, if shown a personalised experience; the users will convert more. Now, of all the columns in my data, I hav...
I am working on a panel dataset with a lot of missing data. Because I have reason to believe that the error terms are autocorrelated, I want to use HAC (Newey West) standard errors. I am unsure how to choose how many lags to include. In a typical time series analysis (i.e. not in a panel), people often suggest setting ...
I'm trying to prove that t = b1 / s(b1) is equal to the two sample t-statistic. But it was given from my supervisor that I should take very specific steps, so the first thing I've done was using the formula for beta one which is $$\beta_1 = \frac{\sum_{i=1}^n (X_i-\bar{X})(Y_i - \bar{Y})}{\sum_{i=1}^n (X_i - \bar{X})^2...
I am trying to predict a numeric variable using XGBoost with optuna for hyperparameter optimization. I defined two objective functions for optuna, one optimized for very small datasets (5 to 17 observations per feature), one optimized for large datasets (from 17 to 6000 observations per feature). This is how I preproce...
The fluorescence signal of a molecule in multiple cells is described by multiple time series. The number of time series is in the hundreds and observations were taken every ten minutes. Apart from other methods, I'm looking into using autocorrelation to determine the presence of oscillations. For now, I have calculated...
As a Business Analyst I may not be as experienced in performing complex statistical tests and this is the reason I am asking for your advice. I have this sales data whose dates I have clustered into two groups, that is dates before price changes, dates after price changes (balanced, 45 days each). Despite knowing trend...
I have analyzed 47 cancer samples from tissue and blood. In the tissue 40 are positive for a virus and in the blood 8 are positive for the virus Importantly, these 8 are the same patients that are positive in the tissue. How would you test if there is a higher number of positive blood samples than expected by chance? m...
I was trying to fit bayesian linear regression using pymc package. But for certain model coefficients I need to choose the prior as a negative ranged distribution (for example negative halfnormal) so that I get always negative estimates for those coefficients and the hdi range should also lie in the negative range. wit...
Suppose we have the following variables: Height, a continuous variable Sport, a dummy equal to 1 if the person did any sports when young; Vitamins, a dummy equal to 1 if the person took any extra vitamins when young. We set up the following regression: (1) Height = a + b•Sport + c•Vitamins + d•SportXVitamins + e … ...
I am running an AB test on a customer support tool - I have changed one feature in the support tool. My unit of randomisation is the agent solving tickets, and my unit of measurement is tickets solved. The metric to be tested is ticket resolution rate. It basically looks like the following: Control Group: X agents, ea...
I'm looking to identify changepoints in my time series data. To begin, I've seasonally adjusted the data using JDemetra+. Next, I'll carry out a changepoint analysis utilizing the EnvCpt function in R. adjusted.ts <- ts(data$`Seasonally adjusted`, frequency = 12, start = c(2002, 1)) out=envcpt(adjusted.ts, models=c("tr...
I'm reading STATA's Survey Data Reference Manual. There is written that: Cluster sampling typically results in larger sample-to-sample variability than sampling individuals directly. Do you have an intuitive explanation for this statement? (I'm not looking for a mathematical proof).
I hope it is okay to ask a question because I am one of the silent user or this forum. My background is in biology and I am not so confident in my skills in stats The goal of the analysis is to identify genome sites (locus) that display the highest gene expression. I can not go into details of the experimental setup bu...
While studying about the hypothesis testing, I encountered the following case - Consider a case where we are carrying out hypothesis testing for amount of perfume filled in the bottles: NULL hypothesis = bottle filling machine fills bottles with 150 cc of perfume in each bottle Alternative hypothesis = bottle filling m...
I have the data on thousands of emission lines such as the one shown in the figure below. A single emission line covers $N$ pixels (11 in this example). Because the data come from counting photons, $X_i\sim\mathcal{Poisson}(\mu_i)$ where $\mu_i$ is the observed number of photons. Since $\mu_i$ is large: $X_i\approx\mat...
I have an experiment where I repeatedly took sediment samples from inside and outside of the same plots in spring and summer for 3 years. For example, sample_IA represents a sample from inside plot A and I collected represents the same sample collect in summer 2020. I want to know if the proportion of silt in sediment...
I have a longitudinal cohort study, with individuals that diagnosed with Disease A at "start", and they all developed Complication B at "end" in my study period (my study period covered 5 decades). Complication B develops very slowly from Disease A. I wanted to show disease burden of Disease A and how it changed over t...
I'm trying to estimate days spent in hospital (length of stay, continuous variable) based on a clinical severity score (categorical, integer: 1, 2 or 3). The numbers reflect level of severity, so 1 is mild, 3 is severe. I'm also interested to know if age (integer, continuous variable) confounds this as well. In R, my c...
I have been asked to add a regression/fitted line equation to a negative binomial mixed effect model plot. Example of a regression line equation is highlighted in yellow below for linear model. I searched papers online, I didn't see a regression line equation for a negative binomial mixed effect model plot. Can someon...
I've been working on training DNNs for various tasks and recently started incorporating additional loss terms into my models to improve convergence and performance. I'm curious to know if I need to add parameters (e.g. layers) when I add loss terms encoding ``soft'' constraints or prior knowledge. Can someone provide s...
I was looking for a way to compute statistics for evaluation metrics for language translation models and I came across spBLEU. I can’t find any implementations/examples that would help me start. Does anyone have a lead on what I can pursue? thanks in advance!
With 3 boxes, two of which are empty and one full, what is the probability of winning the full box by switching when there are two left? Considering that I initially choose one box, and then one empty box is opened.
I would like to discuss the computation of the Tsallis entropy for the generalized Gaussian distribution. From the paper in the link https://www.sciencedirect.com/science/article/pii/S0167947322000822. The density function of the multivariate exponential power distribution, denoted as $MEP_m(s,\mu,\Sigma)$ , is defi...
Suppose $(X_1, . . . ,X_n)$ is an i.i.d. sample from the distribution $f_{\theta,k}(x)$, where $\theta \in (0, 1)$ and $k = 1, 2$. Assume that $$f_{\theta, k}(x)=\begin{cases} \text{Poisson($\theta)$}, &\text{if $k=1$}.\\ \\ \text{Bernoulli($\theta$)}, & \text{if $k=2$}. \end{cases}$$. Check if $T=\sum_{i=1}^nX_i$ is a...
I would like to know how to calculate the sample size that will compare 3 treatment groups. Treatment 1, treatment 2 and Placebo. This is a completely hypothetical scenario. In scenario 1 I would like to compare all treatments to placebo against a binary endpoint: Here are the expected success rates: Treatment 1: 50% T...
I have a dataset $D = \{(x_i, y_i)\}_{i=1...N}$ and I would like to estimate the expected value of a continuous function $r(x,f)$ given only an $x$, where $f=\frac{y}{x}$. The expectation here would be over the distribution of $f$ $$ \mathop{\mathbb{E}}_{f \sim p(f)} [r(x, f)] $$ If I say that the empirical density of ...
I have done this plot with cv.glmnet(), can someone help me to interpret it? I also noticed that I get 2 different lambdas: lambda.min and lambda.1se What is the difference between these lambdas? Why the graph is so thick than normal? What can I understand from the above plot in general (what are these confidence inte...
I have a multiclass classification problem (intent classification). I trained an XGBoost model on a dataset that was feature extracted using SBERT embeddings. I'm trying to compute an explainability measure on a given prediction. This is much easier if I had used something like a TF-IDF vectorizer to extract features, ...
I'm currently involved in a project where I want to address missing data using multiple imputation. I'm using healthcare data in a longitudinal setting with 16 time points, where observations are nested twice: each observation represents therapy-time (i.e., each therapy ID is given 16 times, unless it was censored), an...
I’m not too sure how to answer these variations I thought of and was hoping someone could enlighten me. A casino offers a game of chance for a single player in which a fair coin is tossed at each stage. A fair coin is flipped until it comes up tails the first time, or when the player decides to stop. At that point the ...
I'll try to make it as brief as possible. I'm trying to fit a glm to echolocation clicks count data using the glmmTMB function. I started with a Poisson glm and obtained the dispersion parameter (dp) both manually (Sum of squares of Pearson Residuals / residual df) and using the DHARMa function testDispersion. I got a ...
I am training a neural network classifier with 250k training samples and 54k validation samples. The output activation is sigmoid. I noticed a sudden drop in the precision for the very top probability scores. The graph looks as below. Any advice about a possible cause?
Apologies if this belongs to Data Science instead of here (I can move the question) but this seems related to the math aspect more than ML. In our course we just saw how adding polynomial features to a dataset may improve the model performance. I understand that when there is one single variable, as this allows to perf...
I'm trying to create a cash flow curve from past accounting data, and utilizing its 'shape' to predict future cash flow curves. I work in construction, and I want a representative curve 'shape' for each of the 50 accounting codes (which represents different types of work by subcontractors). To predict future cash flows...
When not working with surveys, you do a variance test with var.test(). What do you do when you want to account for complex survey design?
Are there model-based reinforcement learning algorithms for continuous states and continuous actions? I was trying to find such algorithms but couldn't find any. I know dynamic programming is for discrete spaces only. Thank you!
I have a dataset comprising 1000 integers. It represented as follows: 1235, 1284, 1258, 1284, 1162, 1286, 1333, 1235, 1286, 1315, 1240, 1488, 1346, 1188, 1201, 1188, 1152, 1260, 1240, 1346, 1240, 1343, 1196, 1359, 1219, 1266, ... The histogram doesn't appear to be normally distributed. A Shapiro-Wilk test (scipy.sta...
The deep learning book (Goodfellow, Bengio, and Courville, 2016)'s notation section says $\mathcal{N}(\mathbf{x}; \mathbf{\mu}, \mathbf{\Sigma})$ represents a normal distribution over $\mathbf{x}$, which I thought was just a shorthand for specifying the dimensions or for referencing a distribution without needing to wr...
I am fitting a non-linear model to multiples species where the y is growth rate and x is irradiance. These growth-irradiance curves are common and there is a great r package 'phytotools' that implements a variety of model types. I am using Eilers-Peeters (EP) for four different species, and would like to directly stati...
Related to this question, but adding a nugget isn't helping. Possibly I'm just making a silly coding mistake: x <- cbind(runif(5),runif(5)) d <- dist(x) k <- exp(-d^2) chol(k) # Error in chol.default(k) : # the leading minor of order 1 is not positive definite Adding a nugget doesn't help: k <- as.matrix(k) diag(k...
There are papers on semantic analysis using metadata such as "Sentiment Classification on Steam Reviews" (https://cs229.stanford.edu/proj2017/final-reports/5244171.pdf) and "Detecting the Correlation between Sentiment and User-level as well as Text-Level Meta-data from Benchmark Corpora" (https://shubhanshu.com/assets/...