Questions
Hypnosis and the Stroop effect: In Chapter 1, you were given an opportunity to complete the...

Hypnosis and the Stroop effect: In Chapter 1, you were given an opportunity to complete the Stroop test, in which color words are printed in the wrong color; for example, the word redmight be printed in the color blue. The conflict that arises when we try to name the color of ink the words are printed in but are distracted when the color word does not match the ink color increases reaction time and decreases accuracy. Several researchers have suggested that the Stroop effect can be decreased by hypnosis. Raz, Fan, and Posner (2005) used brain-imaging techniques to demonstrate that posthypnotic suggestion led highly hypnotizable people to see Stroop words as nonsense words. Imagine that you are working with Raz and colleagues and your assignment is to determine whether reaction times decrease (remember, a decrease is a good thing; it indicates that participants are faster) when highly hypnotizable people receive a posthypnotic suggestion to view the words as nonsensical. You conduct the experiment on six participants, once in each condition, and receive the following data; the first number is reaction time in seconds without the posthypnotic suggestion, and the second number is reaction time with the posthypnotic suggestion: Participant 1: 12.6, 8.5 Participant 2: 13.8, 9.6 Participant 3: 11.6, 10.0 Participant 4: 12.2, 9.2 Participant 5: 12.1, 8.9 Participant 6: 13.0, 10.8 A. What is the independent variable and what are its levels? What is the dependent variable? B. Conduct all six steps of a paired-samples t test as a two-tailed test. Be sure to label all six steps. C. Report the statistics as you would in a journal article. • Need to show all my work .

In: Statistics and Probability

 In this exercise, you will create two external style sheet files and a web page. You...

 In this exercise, you will create two external style sheet files and a web page. You will experiment with linking the web page to the external style sheets and note how the display of the page is changed.

Create an external style sheet (call it format1.css) to format as follows: document background color of white, document text color of #000099, and document font family of Arial, Helvetica, or sans-serif. Hyperlinks should have a background color of gray (#CCCCCC). Configure the h1 selector to use the Times New Roman font with red text color.

Create an external style sheet (call it format2.css) to format as follows: document background color of yellow and document text color of green. Hyperlinks should have a background color of white. Configure the h1 selector to use the Times New Roman font with white background color and green text color.

Create a web page about your favorite movie that displays the movie name in an <h1> tag, a description of the movie in a paragraph, and an unordered (bulleted) list of the main actors and actresses in the movie. The page should also have a hyperlink to a website about the movie. Place an e-mail link to yourself on the web page, email link. This page should be associated with the format1.css file. Save the page as moviecss1.html. Be sure to test your page in more than one browser. Modify the moviecss1.html page to link to the format2.css external style sheet instead of the format1.css file. Save the page as moviecss2.html and test it in a browser. Notice how different the page looks!

In: Computer Science

Scenario: A 28 year old with a bachelors degree. They have no children and is a...

Scenario: A 28 year old with a bachelors degree. They have no children and is a new home owner in the state of Maryland. As head of the household must determine a household budgeting plan.

Use Table 1 to report the variables selected for this assignment. Note: The information for the required variable, “Income,” has already been completed and can be used as a guide for completing information on the remaining variables.

Variable Name In DataSet Description Type of variable (Qualitative or quantitative
Income annual househole income in USD Quantitative
Martial Status
Age
Family Size
Housing

Reason(s) for selecting the variable and expected Outcome(s)

1) Income

2) Martial Status

3) Age

4) Family Size

5) Housing

Data Set Description:

Proposed Data Analysis:

Measures of Central Tendency and Dispersion

Complete Table 2. Numerical Summaries of the Selected Variables and briefly explain why you choose those measurements. Note: The information for the required variable, “Income,” has already been completed and can be used as a guide for completing information on the remaining variables.

Table 2. Numerical Summaries of the Selected Variables

Variable Name

Measures of Central Tendency and Dispersion

Rationale for Why Appropriate

Variable 1:

“Income”

   Number of Observations

?   Median

?   Sample Standard Deviation

I am using median for two reasons:

1.   If there are any outliers or the data is not normally distributed, the median is the best measure of central tendency.

2.   The variable is quantitative.

I am using sample standard deviation for three reasons:

1.   The data is a sample from a larger data set.

2.   It is the most commonly used measure of dispersion.

3.   The variable is quantitative.

Marital Status
Age
Family size
Housing

Graphs and/or Tables

Complete Table 3. Type of Graphs and/or Table for Selected Variables and briefly explain why you choose those graphs and/or tables. Note: The information for the required variable, “Income,” has already been completed and can be used as a guide for completing information on the remaining variables.

Table 3. Type of Graphs and/or Tables for Selected Variables

Variable Name

Graph and/or Table

Rationale for why Appropriate?

Variable 1:

“Income”

Graph: I will use the histogram to show the normal distribution of data.

Histogram is one of the best plot to show the normal distribution of quantitative level data .

martial status
age
family size
housing

The data is a random sample from the US Department of Labor’s 2016 Consumer Expenditure Surveys (CE) and provides information about the composition of households and their annual expenditures (https://www.bls.gov/cex/). It contains information from 30 households, where a survey responder provided the requested information; it is all self-reported information. This dataset contains four socioeconomic variables (whose names start with SE) and four expenditure variables (whose names start with USD).

In: Statistics and Probability

calculate depreciation amount for plant which was purchase at the beginning of 2016 for 40,000 and...

calculate depreciation amount for plant which was purchase at the beginning of 2016 for 40,000 and has useful life of 10 years .

if the account information on 30 june 2018 .how to calculate depreciation amount

In: Accounting

A company paid dividends of $3.20 per share in​ 2009, and just announced that it will...

A company paid dividends of $3.20 per share in​ 2009, and just announced that it will pay $9.49 in 2016. Estimate the compound annual growth rate of the dividends. The compound annual growth rate of the dividends is ___%. ​

In: Finance

Select 3-5 financial markets or economic metrics. Compare and contrast financial markets metrics of 2008, 2012,...

Select 3-5 financial markets or economic metrics. Compare and contrast financial markets metrics of 2008, 2012, and 2016 - has the US economy sufficiently recovered from the financial crisis?

In: Finance

Which is better, lowering or raising taxes?  Explain and use example on how your choice is accurate....

Which is better, lowering or raising taxes?  Explain and use example on how your choice is accurate.

http://money.cnn.com/2016/10/17/pf/taxes/trump-tax-plan/index.html

In: Economics

Select TWO companies listed in the construction sector of the Main Market of Bursa Malaysia Compute...

Select TWO companies listed in the construction sector of the Main Market of Bursa Malaysia

Compute the relevant ratios for the analysis of the companies’ capital structure for the years 2015, 2016, 2017, 2018 and 2019

In: Finance

So, I have 2 Window Server 2016 Virtual Machines and I am not sure how to...

So, I have 2 Window Server 2016 Virtual Machines and I am not sure how to create 2 NICs for each server. Can someone explain how to create it?

In: Computer Science

(LANGUAGE: C++) 1)     For this lab, you will fill in what’s missing to make the attached file...

(LANGUAGE: C++)

1)     For this lab, you will fill in what’s missing to make the attached file cust_leads.cpp work

2)     The Lead class is for a very limited amount of information about a potential customer

·       Include string fields for name and email

·       A constructor that takes values for these two fields

·       Include a getter for the email field

·       Overload the == operator

·       2 Lead’s are equal if the names are the same (the emails don’t need to match)

·       the first few lines of main() test this operator, and then you use it when adding a new lead and getting contact info about a lead

3)     The Command class represents an option for the main menu. It includes:

·       A char to pick this command

·       A string to describe what the command does

·       A constructor that takes these two parameters

·       A “friend” line to allow an overloaded << operator to output a Command

·       Write the overloaded << operator as a separate, global function, just as in the textbook and notes

4)     The add function to add a new lead. It takes a vector<Lead> & parameter

·       Read in name and email values to create a new Lead

·       Use the == operator to compare this new lead against what is already in the vector. You can write the search code yourself or use the find() function of the <algorithm> library

·       If you want to use find() (and it is not required), note that it takes 3 parameters: a begin iterator, an end iterator and a target

(1)   The iterators are what you would get from vector’s begin() and end() functions

(2)   The target must be of type Lead, so you need to create a “dummy” Lead object with the name to search and use this object as the 3rd parameter – the name is just a string and will not work

(3)   Also note that find() returns an iterator:

(a)   It matches the end() iterator if the target was not found

(b)   Otherwise, you can dereference the iterator to get the full Lead object that was found

·       If the name does not exist yet in the vector, add the new lead to the vector

·       If the name already exists in the parameter, output the error message indicated below

5)     The get_contact function to look up a lead. It takes a vector<Lead> & parameter

·       Read in the name to lookup

·       If the name exists in the vector parameter, display the contact info

·       If not, display the error message indicated below:

OUTPUT:

Test of == operator for Lead's

correct: Jack != Jill

correct: both have the same name

Program to manage leads for possible customers

Enter option from below:

q: quit program

a: add new lead

g: get contact info

a

Enter name: Mac

Enter email: [email protected]

Enter option from below:

q: quit program

a: add new lead

g: get contact info

a

Enter name: Mac

Mac is already on the list

Enter option from below:

q: quit program

a: add new lead

g: get contact info

a

Enter name: Nina

Enter email: [email protected]

Enter option from below:

q: quit program

a: add new lead

g: get contact info

g

Enter name to lookup: Nina

Email contact: [email protected]

Enter option from below:

q: quit program

a: add new lead

g: get contact info

g

Enter name to lookup: Zen

Person not found

Enter option from below:

q: quit program

a: add new lead

g: get contact info

q

Exiting program

GIVEN CODE

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

// Put classes and functions here

int main() {
    const char QUIT = 'q';
    const char ADD = 'a';
    const char GET_CONTACT = 'g';
    char cmd = ' ';
    cout << "Test of == operator for Lead's" << endl;
    Lead lead1("Jack", "[email protected]"),
         lead2("Jill", "[email protected]"),
         lead3("Jill", "[email protected]");
    if (lead1 == lead2)
        cout << "error: should not match Jack and Jill" << endl;
    else cout << "correct: Jack != Jill" << endl;
    if (lead2 == lead3)
        cout << "correct: both have the same name" << endl;
    else cout << "error: should match leads with same name, even if email is different" << endl;

    cout << "Program to manage leads for possible customers" << endl << endl;

    vector<Command> cmds;
    cmds.push_back(Command(QUIT, "quit program"));
    cmds.push_back(Command(ADD, "add new lead"));
    cmds.push_back(Command(GET_CONTACT, "get contact info"));

    vector<Lead> leads;

    do {
        cout << "Enter option from below:" << endl;
        for (unsigned int i = 0; i < cmds.size(); i++)
            cout << cmds[i];
        cin >> cmd;
        cmd = tolower(cmd);
        switch(cmd) {
            case QUIT:
                cout << "Exiting program" << endl;
                break;
            case ADD:
                add(leads);
                break;
            case GET_CONTACT:
                get_contact(leads);
                break;
            default:
                cerr << "Unrecognized command: " << cmd << endl;
                break;
        }
    } while (cmd != QUIT);

}

Make sure to add comments for each class/function. Thank you.

In: Computer Science