Hi everyone,
My objective is to test whether the performance between 6 portflios significantly differ.
In short, I have multiple independent variables (4) that benchmark returns of different market portfolios (Carhart 4-factor), where the dependent variables are the returns of the portfolio...
Does any body know how to convert a mixed DataFrame containing both Unix and datetime to datetime only feature(with Python)
Data frame head is given in the below attachment
P.S Please help.
I can not find solutions from the net.
Hello
I tried to run PS match from Data menu in SPSS (Python Fuzzy) or R (Essentials for R). Both failed. R is installed and directory could not be located despite going to the download folder. Similarly, Fuzzy is not installed but it is installed.
I tried to run another extension prior to...
Hello, I'm currently working on a project in data science class. I'm exploring 911 data. I need to analyse the data by statistical tests and give business conclusions. I counted how many times there was car crash by year, month, day, hour and by town. I am using python for my project.
We at Enable AI are a start-up from Stuttgart, Germany, and we want to empower people to understand and use artificial intelligence. We organize professional trainings and seminars in the B2B area with experts in deep learning, data analysis, data science, machine learning and artificial...
Hello everyone,
Hope you guys are having a nice holiday.
I am trying to write a bit of code in which I want to look up the Up' and Lp' values based on the skewness and kurtosis of my data, from the following table.
I am trying to code this in Python / R / JMP, but I cant find this table in any...
A classifier is expected to face with many datasets with different characteristics such as being unbalanced. Besides, their missions are different, for example, categorizing data into just two classes or more than two. There are many different parameters for evaluating the performance of a...
I am trying to calculate BIC in python. In python, there is no inbuilt library for computing BIC. I referenced the following link to compute variance and BIC further:-...
Hi guys,
I have a bunch of data in the following format (sorry, it does not format well on here):
Key Indicator-----------First Group------------Second Group
------------------Observations---Mean-----Observations----Mean
1 Grade change...
Hi everyone,
I'm doing research on business owners, who have started multiple businesses. I had a sample of 2500 businesses and looked at the business owners' success rate from their first to last business. That gave me two groups: 1) business owners who were SUCCESFUL in their first business...
Hi,
I was wondering if anyone can assist me with this issue.
I am building a logistic regression model to predict purchase or not purchase based on web site behaviour data.
One of the factors that I would like to include in the model is the visits to purchase and the days to purchase...
Hello!
I am working with a very large dataset and I plan to merge in more years of similar data; however, the data will be panel data so I need to rename the variables with a suffix. I have worked all day on writing script (even started renaming each individual variable but gave up at #409 out...
Are these two things equivalent in R and Python respectively?
r <- list(list(c("a", "b"), c("d", "e")), list(c("f", "g"), c("h", "i")))
python = [[("a", "b"), ("d", "e")], [("f", "g"), ("h", "i")]]
Hi,
I am looking at Coursera data anlysis specializations and most (basically all except John Hopkins) offer Python as the language of choice for their courses. I really like R but I started to wonder if I am missing something? I just see no advantages in Python for data analysis, that would...
Hello!
I have SPSS 22 x64, and SAV file with about 400 cases. Syntax is
FREQUENCIES VARIABLES=var01 var02
/ORDER=ANALYSIS.
OMS
/SELECT ALL
/DESTINATION FORMAT=OXML OUTFILE="xmlout.xml".
XML file appears with 0 size, than, after some time, it becomes bigger, but unfinished. For...
So I am trying to call python from R so I can use beautiful soup. I have tried both >system("python myfile.py")
and
>library(rPython)
>python.exec("import bs4 some more python script here")
The issue I am running into in both cases is I get back "No module named bs4"
I think the...
Dear colleagues,
Im converting a code written in PYTHON to STATA and I'm stuck at the point when have to apply the iterative procedure. Cannot find the way to write the loop so that it includes the initial value and generates an estimate for lat.
Has any of you got any experience with that...
I am trying to implement the gibbs sampler found here
http://www.people.fas.harvard.edu/~plam/teaching/methods/mcmc/mcmc.pdf
on page 175. It is written in R but I am trying to write it in Python but running into problems.
Here is my python code
from numpy import *
import...
Hello,
I have a semester project to develop a tool using Python which implements Kulldorff's algorithm and finds clusters in point (geo)data.
Currently it is a mess: I understand Kuldorff's algorithm upto the part before it dives into Bernoulli & Poisson. I imagine I have to call certain...
Hello,
I create a web page for conducting surveys (php) and there is also a module on conjoint analysis (orthogonal plan, two attributes at a time approach, trade-off matrix approach, etc) and I have a question: do you have any tips? I heard about a SPSS plugin for Python, has anyone used this...