Comments (3)
This is the example code that is created to create a combination table that is used to analyze questionnaire data with ANCOVA.
Just grab code that is relevant, particularly toward the end of the code
`
# CoPresence Post
copresence_post_all.append(copresence_averted_post[idx])
copresence_post_all.append(copresence_direct_post[idx])
copresence_post_all.append(copresence_natural_post[idx])
# Create subject number
subject_no = list(range(1,25))
subject = np.repeat(subject_no, 3)
# Create eye gaze number
# 1 = averted post
# 2 = direct post
# 3 = natural post
eye_gaze = np.tile([1, 2, 3], 24)
df_all_eyes = pd.DataFrame({"Subject" : subject,
"EyeGaze" : eye_gaze,
"Empathy_Pre" : empathy_pre_spgq_all,
"Empathy_Post" : empathy_post_spgq_all,
"NegativeFeelings_Pre" : negative_feelings_pre_spgq_all,
"NegativeFeelings_Post" : negative_feelings_post_spgq_all,
"Behavioural_Pre" : behavioural_pre_spgq_all,
"Behavioural_Post" : behavioural_post_spgq_all,
"SPGQTotal_Pre" : spgq_pre_all,
"SPGQTotal_Post" : spgq_post_all,
"CoPresence_Pre" : copresence_pre_all,
"CoPresence_Post" : copresence_post_all})
df_all_eyes.head()
`
from hyperscanning2-redesign.
2acf4a6 Add leading zeros (This is for the result of statistical permutation for subject 1-9 for all algorithm, ie. ccorr, coh, and plv)
Added count significant connections
- It is for averted_pre and theta only
- ToDo :
- Extend to other algorithm, ccorr and coh
- Extend to other frequencies, alpha, beta, and gamma
from hyperscanning2-redesign.
0375c4d
Add func to count total sig connection
Counting total number of significant connection divided into different algorithm and frequency
- ccorr, coh, plv (algorithm)
- theta, alpha, beta, and gamma (frequency)
ToDo
- Count average significant actual score of specific connections out of all pairs (from dictionary), which have key (out of all participants). Use this code to start #32
from hyperscanning2-redesign.
Related Issues (20)
- Mixed results HOT 1
- Notes : Running permutation in several screen of linux
- Process demographic data
- Function to calculate how many percentage of looking and not looking HOT 1
- Modules of eye tracker HOT 1
- Module of EEG HOT 9
- Module of Questionnaire HOT 2
- Viz-Remove x-axis and y-axis visualization of eye data
- Remove x-axis and y-axis visualization
- Viz-Add title of figure of plot
- Viz-Change no or info on legend of color bar HOT 1
- Viz-Capture the background for various eye conditions and put as overlay HOT 1
- Combine pre and post condition for visualization
- Create function to plot data of eye tracker into heatmap HOT 3
- Initialization of documentation using sphinx HOT 4
- Configuration of sphinx
- Documentation of phd_codes HOT 4
- Documentation of phd_codes HOT 2
- Correlational analysis between EEG connections and SPGQ score (After defense Revision) HOT 1
- Added function to calcuate 2 way repeated measures ANOVA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperscanning2-redesign.