El documento describe los algoritmos recursivos, los cuales resuelven un problema dividiéndolo en subproblemas más pequeños del mismo tipo. Explica que un algoritmo es recursivo si se llama a sí mismo, directa o indirectamente, y debe incluir un caso base para evitar llamadas infinitas. También describe cómo la pila de llamadas almacena información sobre cada llamada a una función para gestionar la recursividad.
Este documento presenta una introducción al curso CCNA Exploration 4.0 sobre aspectos básicos de internetworking. El curso enseña conceptos y tecnologías fundamentales de redes para ayudar a los estudiantes a desarrollar habilidades para planificar e implementar pequeñas redes. El curso utiliza material en línea, presentaciones, prácticas de laboratorio y la herramienta de simulación Packet Tracer. Los estudiantes aprenden sobre comunicación en redes, modelos OSI y TCP/IP, componentes de red, direccionamiento y medios de transmis
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
Creative operations teams expect increased AI use in 2024. Currently, over half of tasks are not AI-enabled, but this is expected to decrease in the coming year. ChatGPT is the most popular AI tool currently. Business leaders are more actively exploring AI benefits than individual contributors. Most respondents do not believe AI will impact workforce size in 2024. However, some inhibitions still exist around AI accuracy and lack of understanding. Creatives primarily want to use AI to save time on mundane tasks and boost productivity.
El documento describe los algoritmos recursivos, los cuales resuelven un problema dividiéndolo en subproblemas más pequeños del mismo tipo. Explica que un algoritmo es recursivo si se llama a sí mismo, directa o indirectamente, y debe incluir un caso base para evitar llamadas infinitas. También describe cómo la pila de llamadas almacena información sobre cada llamada a una función para gestionar la recursividad.
Este documento presenta una introducción al curso CCNA Exploration 4.0 sobre aspectos básicos de internetworking. El curso enseña conceptos y tecnologías fundamentales de redes para ayudar a los estudiantes a desarrollar habilidades para planificar e implementar pequeñas redes. El curso utiliza material en línea, presentaciones, prácticas de laboratorio y la herramienta de simulación Packet Tracer. Los estudiantes aprenden sobre comunicación en redes, modelos OSI y TCP/IP, componentes de red, direccionamiento y medios de transmis
2024 State of Marketing Report – by HubspotMarius Sescu
https://www.hubspot.com/state-of-marketing
· Scaling relationships and proving ROI
· Social media is the place for search, sales, and service
· Authentic influencer partnerships fuel brand growth
· The strongest connections happen via call, click, chat, and camera.
· Time saved with AI leads to more creative work
· Seeking: A single source of truth
· TLDR; Get on social, try AI, and align your systems.
· More human marketing, powered by robots
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits.
To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups.
Technology
For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did.
While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis.
Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad.
Age and Gender
When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same.
Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers.
Race Affects Attitudes
As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
Creative operations teams expect increased AI use in 2024. Currently, over half of tasks are not AI-enabled, but this is expected to decrease in the coming year. ChatGPT is the most popular AI tool currently. Business leaders are more actively exploring AI benefits than individual contributors. Most respondents do not believe AI will impact workforce size in 2024. However, some inhibitions still exist around AI accuracy and lack of understanding. Creatives primarily want to use AI to save time on mundane tasks and boost productivity.
Organizational culture includes values, norms, systems, symbols, language, assumptions, beliefs, and habits that influence employee behaviors and how people interpret those behaviors. It is important because culture can help or hinder a company's success. Some key aspects of Netflix's culture that help it achieve results include hiring smartly so every position has stars, focusing on attitude over just aptitude, and having a strict policy against peacocks, whiners, and jerks.
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
PepsiCo provided a safe harbor statement noting that any forward-looking statements are based on currently available information and are subject to risks and uncertainties. It also provided information on non-GAAP measures and directing readers to its website for disclosure and reconciliation. The document then discussed PepsiCo's business overview, including that it is a global beverage and convenient food company with iconic brands, $91 billion in net revenue in 2023, and nearly $14 billion in core operating profit. It operates through a divisional structure with a focus on local consumers.
Content Methodology: A Best Practices Report (Webinar)contently
This document provides an overview of content methodology best practices. It defines content methodology as establishing objectives, KPIs, and a culture of continuous learning and iteration. An effective methodology focuses on connecting with audiences, creating optimal content, and optimizing processes. It also discusses why a methodology is needed due to the competitive landscape, proliferation of channels, and opportunities for improvement. Components of an effective methodology include defining objectives and KPIs, audience analysis, identifying opportunities, and evaluating resources. The document concludes with recommendations around creating a content plan, testing and optimizing content over 90 days.
How to Prepare For a Successful Job Search for 2024Albert Qian
The document provides guidance on preparing a job search for 2024. It discusses the state of the job market, focusing on growth in AI and healthcare but also continued layoffs. It recommends figuring out what you want to do by researching interests and skills, then conducting informational interviews. The job search should involve building a personal brand on LinkedIn, actively applying to jobs, tailoring resumes and interviews, maintaining job hunting as a habit, and continuing self-improvement. Once hired, the document advises setting new goals and keeping skills and networking active in case of future opportunities.
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
The document provides career advice for getting into the tech field, including:
- Doing projects and internships in college to build a portfolio.
- Learning about different roles and technologies through industry research.
- Contributing to open source projects to build experience and network.
- Developing a personal brand through a website and social media presence.
- Networking through events, communities, and finding a mentor.
- Practicing interviews through mock interviews and whiteboarding coding questions.
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
1. Core updates from Google periodically change how its algorithms assess and rank websites and pages. This can impact rankings through shifts in user intent, site quality issues being caught up to, world events influencing queries, and overhauls to search like the E-A-T framework.
2. There are many possible user intents beyond just transactional, navigational and informational. Identifying intent shifts is important during core updates. Sites may need to optimize for new intents through different content types and sections.
3. Responding effectively to core updates requires analyzing "before and after" data to understand changes, identifying new intents or page types, and ensuring content matches appropriate intents across video, images, knowledge graphs and more.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
During this webinar, Anand Bagmar demonstrates how AI tools such as ChatGPT can be applied to various stages of the software development life cycle (SDLC) using an eCommerce application case study. Find the on-demand recording and more info at https://applitools.info/b59
Key takeaways:
• Learn how to use ChatGPT to add AI power to your testing and test automation
• Understand the limitations of the technology and where human expertise is crucial
• Gain insight into different AI-based tools
• Adopt AI-based tools to stay relevant and optimize work for developers and testers
* ChatGPT and OpenAI belong to OpenAI, L.L.C.
The document discusses various AI tools from OpenAI like GPT-3 and DALL-E 2, as well as ChatGPT. It explores how search engines are using AI and things to consider around AI-generated content. Potential SEO uses of ChatGPT are also presented, such as generating content at scale, conducting topic research, and automating basic coding tasks. The document encourages further reading on using ChatGPT for SEO purposes.
More than Just Lines on a Map: Best Practices for U.S Bike Routes
This session highlights best practices and lessons learned for U.S. Bike Route System designation, as well as how and why these routes should be integrated into bicycle planning at the local and regional level.
Presenters:
Presenter: Kevin Luecke Toole Design Group
Co-Presenter: Virginia Sullivan Adventure Cycling Association
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
Has your project been caught in a storm of deadlines, clashing requirements, and the need to change course halfway through? If yes, then check out how the administration team navigated through all of this, relocating 160 people from 3 countries and opening 2 offices during the most turbulent time in the last 20 years. Belka Games’ Chief Administrative Officer, Katerina Rudko, will share universal approaches and life hacks that can help your project survive unstable periods when there seem to be too many tasks and a lack of time and people.
Organizational culture includes values, norms, systems, symbols, language, assumptions, beliefs, and habits that influence employee behaviors and how people interpret those behaviors. It is important because culture can help or hinder a company's success. Some key aspects of Netflix's culture that help it achieve results include hiring smartly so every position has stars, focusing on attitude over just aptitude, and having a strict policy against peacocks, whiners, and jerks.
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
PepsiCo provided a safe harbor statement noting that any forward-looking statements are based on currently available information and are subject to risks and uncertainties. It also provided information on non-GAAP measures and directing readers to its website for disclosure and reconciliation. The document then discussed PepsiCo's business overview, including that it is a global beverage and convenient food company with iconic brands, $91 billion in net revenue in 2023, and nearly $14 billion in core operating profit. It operates through a divisional structure with a focus on local consumers.
Content Methodology: A Best Practices Report (Webinar)contently
This document provides an overview of content methodology best practices. It defines content methodology as establishing objectives, KPIs, and a culture of continuous learning and iteration. An effective methodology focuses on connecting with audiences, creating optimal content, and optimizing processes. It also discusses why a methodology is needed due to the competitive landscape, proliferation of channels, and opportunities for improvement. Components of an effective methodology include defining objectives and KPIs, audience analysis, identifying opportunities, and evaluating resources. The document concludes with recommendations around creating a content plan, testing and optimizing content over 90 days.
How to Prepare For a Successful Job Search for 2024Albert Qian
The document provides guidance on preparing a job search for 2024. It discusses the state of the job market, focusing on growth in AI and healthcare but also continued layoffs. It recommends figuring out what you want to do by researching interests and skills, then conducting informational interviews. The job search should involve building a personal brand on LinkedIn, actively applying to jobs, tailoring resumes and interviews, maintaining job hunting as a habit, and continuing self-improvement. Once hired, the document advises setting new goals and keeping skills and networking active in case of future opportunities.
A report by thenetworkone and Kurio.
The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands.
It’s important that you’re ready to implement new strategies in 2024.
Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024.
You’ll learn:
- The latest trends in AI and automation, and what this means for an evolving paid search ecosystem.
- New developments in privacy and data regulation.
- Emerging ad formats that are expected to make an impact next year.
Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape.
If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
5 Public speaking tips from TED - Visualized summarySpeakerHub
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world.
With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively.
The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage.
Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience.
See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers
See the original article on Forbes here:
http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world.
Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance.
For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age.
Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
The document provides career advice for getting into the tech field, including:
- Doing projects and internships in college to build a portfolio.
- Learning about different roles and technologies through industry research.
- Contributing to open source projects to build experience and network.
- Developing a personal brand through a website and social media presence.
- Networking through events, communities, and finding a mentor.
- Practicing interviews through mock interviews and whiteboarding coding questions.
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
1. Core updates from Google periodically change how its algorithms assess and rank websites and pages. This can impact rankings through shifts in user intent, site quality issues being caught up to, world events influencing queries, and overhauls to search like the E-A-T framework.
2. There are many possible user intents beyond just transactional, navigational and informational. Identifying intent shifts is important during core updates. Sites may need to optimize for new intents through different content types and sections.
3. Responding effectively to core updates requires analyzing "before and after" data to understand changes, identifying new intents or page types, and ensuring content matches appropriate intents across video, images, knowledge graphs and more.
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc.
It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Time Management & Productivity - Best PracticesVit Horky
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
The six step guide to practical project managementMindGenius
The six step guide to practical project management
If you think managing projects is too difficult, think again.
We’ve stripped back project management processes to the
basics – to make it quicker and easier, without sacrificing
the vital ingredients for success.
“If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.”
Dr Andrew Makar, Tactical Project Management
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
During this webinar, Anand Bagmar demonstrates how AI tools such as ChatGPT can be applied to various stages of the software development life cycle (SDLC) using an eCommerce application case study. Find the on-demand recording and more info at https://applitools.info/b59
Key takeaways:
• Learn how to use ChatGPT to add AI power to your testing and test automation
• Understand the limitations of the technology and where human expertise is crucial
• Gain insight into different AI-based tools
• Adopt AI-based tools to stay relevant and optimize work for developers and testers
* ChatGPT and OpenAI belong to OpenAI, L.L.C.
The document discusses various AI tools from OpenAI like GPT-3 and DALL-E 2, as well as ChatGPT. It explores how search engines are using AI and things to consider around AI-generated content. Potential SEO uses of ChatGPT are also presented, such as generating content at scale, conducting topic research, and automating basic coding tasks. The document encourages further reading on using ChatGPT for SEO purposes.
More than Just Lines on a Map: Best Practices for U.S Bike Routes
This session highlights best practices and lessons learned for U.S. Bike Route System designation, as well as how and why these routes should be integrated into bicycle planning at the local and regional level.
Presenters:
Presenter: Kevin Luecke Toole Design Group
Co-Presenter: Virginia Sullivan Adventure Cycling Association
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
Has your project been caught in a storm of deadlines, clashing requirements, and the need to change course halfway through? If yes, then check out how the administration team navigated through all of this, relocating 160 people from 3 countries and opening 2 offices during the most turbulent time in the last 20 years. Belka Games’ Chief Administrative Officer, Katerina Rudko, will share universal approaches and life hacks that can help your project survive unstable periods when there seem to be too many tasks and a lack of time and people.
3. Programmi SAS
E’ una sequenza di passi finalizzata generalmente a creare un dataset.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 3
4. Programmi SAS
I passi SAS sono:
DATA
PROC
I passi SAS terminano con:
run;
quit;
I programmi SAS possono essere eseguiti in modalità:
Interattiva
Batch
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 4
5. Log programmi SAS
LOG-->contiene informazioni sui step eseguiti, errori e warning inclusi.
Posizionandosi sulla pagina del log, cliccando il ‘foglio bianco’(1) è possibile
ripulire il log e partire da una situazione pulita.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 5
1
6. Visualizzare informazione dataset
Facendo tasto destro-->Properties
su una tabella, è possibile
visualizzare dettagli come il
numero di righe, colonne, indici,
data modifica e creazione, ecc…
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 6
7. Regole di sintassi
Le istruzioni SAS iniziano con una parola chiave(es. DATA o PROC)
Terminano con un punto e virgola
L’indentazione del codice non è obbligatoria, ma di aiuto per la lettura del
codice
Una stessa riga può contenere più istruzioni
Un’istruzione può estendersi su più righe
I commenti su più righe si racchiudono tra /* e */
I commenti su una riga si possono fare con * e ;
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 7
8. Tipi di variabili
Vi sono 2 tipi di variabili:
Alfanumeriche: possono contenere
caratteri, numeri, caratteri
speciali e hanno una lunghezza
massima di 32,767 bytes
Numeriche: hanno una lunghezza
predefinita in 8 bytes anche se non
si è limitati a 8 cifre.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 8
9. Variabili di tipo Date
In SAS non esistono campi di tipo Date. I campi che appaiono come date in
realtà sono numeri a cui è stato applicato un formato di tipo data.
Inoltre, in SAS "l’anno" 0 è il 1 gennaio 1960.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 9
10. Valori mancanti
Campo carattere non
valorizzato(vuoto)
Campo numerico non
valorizzato(.)
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 10
11. Nomi variabili e dataset
Gli standard per i nomi delle variabili e dei dataset sono uguali.
Lunghezza massima di 32 caratteri
Deve iniziare con un carattere(a-z) o un underscore(_)
Può continuare con caratteri, numeri o underscore
Nel caso il nome non sia valido, un errore verrà stampato nel log.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 11
12. Librerie SAS
È una collezione di file SAS, che
vengono referenziati con un nome
logico(libref).
ES. sashelp.class
Una libreria può essere
temporanea(work) o permanente.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 12
13. LIBNAME
Per allocare una libreria si usa la libname.
La libref seguo lo stesso standard di nomenclatura delle variabili dei dataset,
unica differenze è che il nome non può superare i 8 caratteri.
Nel log si può verificare se la libreria è stata correttamente allocata o meno.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 13
14. Istruzione DATA
Per creare un dataset basta scrivere:
Casi particolari:
Se non si specifica il nome del ds, la prima volta verrà creato il ds DATA1, poi
DATA2 e cos’ via…
Se non si vuole creare alcun dataset, basta scrivere _NULL_ al posto del nome del
dataset.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 14
15. Istruzione SET
Per creare un dataset utilizzando un dataset SAS come input bisogna
utilizzare
Di base, con l’istruzione SET si leggono tutti i record e tutte le variabili.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 15
16. Creazione di nuove variabili
Per creare una nuova variabile devo usare l’istruzione di assegnazione.
Es. creo la variabili newvar e la valorizzo con un numero fisso.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 16
17. Operatori SAS
Simbolo Definizione
** Elevamento a
potenza
* Moltiplicazione
/ Divisione
+ Addizione
- Sottrazione
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 17
18. Costanti SAS
In SAS si possono definire delle costanti, e si possono anche usare per creare nuove
variabili.
Stringa
’Ciao’
"CASA"
Numeriche
10
3.14
Data
’30Aug1997’d
’30Aug1997:13:15:00.00’DT
N.B. E’ importante specificare la d o dt in caso di costanti di tipo data o datetime.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 18
19. Operatori di confronto
Vengono usati per l’esecuzione condizionale.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 19
Simbolo Significato
= Uguale a
^= Diverso da
> Maggiore di
< Minore di
>= Maggiore o uguale di
<= Minore o uguale di
20. Operatori logici
Vengono usati nelle espressioni, per concatenare delle condizioni.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 20
Simbolo Significato
& AND
| OR
! OR
¬ NOT
ˆ NOT
~ NOT
21. Esecuzione condizionale
Per l’esecuzione condizionale, bisogna specificare una condizione. Se questa
condizione è vera si esegue una certa istruzione. In caso contrario, si può
eseguire una istruzione diversa o non eseguirne alcuna.
La sintassi generale è:
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 21
22. Istruzione LENGTH
Serve per definire la lunghezza di una variabile.
Se la lunghezza definita è troppo corta, i dati verranno troncati(vedi es.
sotto)
La posizione in cui si utilizza l’istruzione è importante. Dato che il campo
name è già presente nel ds sashelp.class, la length specificata prima
dell’istruzione vince su quella ereditata dal dataset.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 22
23. Istruzione DO/END
DO/END vengono utilizzati per eseguire un gruppo di istruzioni in maniera
condizionale.
Di seguito la sintassi. Il ramo ELSE non è obbligatorio.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 23
24. Esecuzione Condizionale con SELECT
Un altro modo per eseguire istruzioni in maniera condizionale è utilizzare
SELECT.
L’istruzione OTHERWISE è facoltativa, si può specificare vuota. Nel caso in cui
venga omessa e tutte le condizioni precedenti risultino false, verrà generato
un errore.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 24
25. KEEP
Serve per selezionare le variabili da mantenere. Si può utilizzare in diversi
punti.
A seconda di dove viene utilizzata, cambia il numero di variabili lette, e di
conseguenza le performance.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 25
26. DROP
Serve per selezionare le variabili da cancellare. Si può utilizzare in diversi
punti.
A seconda di dove viene utilizzata, cambia il numero di variabili lette, e di
conseguenza le performance.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 26
27. Selezione di osservazioni: IF
Per selezionare i record da scrivere in un dataset SAS, si può utilizzare
l’istruzione IF.
Se la condizione specificata sarà vera, il record verrà scritto nel dataset.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 27
28. Selezione di osservazioni: DELETE
Per selezionare i record da NON scrivere in un dataset SAS, si può utilizzare
l’istruzione DELETE.
Se la condizione specificata sarà vera, il record NON verrà scritto nel dataset.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 28
29. Selezione di osservazioni: WHERE
Per selezionare i record da leggere, si può utilizzare l’istruzione WHERE.
Se la condizione specificata sarà vera, il record verrà letto.
Nella espressione da verificare, si possono specificare solo variabili presenti
nel dataset di input, non variabili calcolate nel step corrente.
È molto più performante di una IF.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 29
30. Istruzione PUT
Scrive informazioni nel log ed è utile in fase di test/debug.
put ‘testo’;
put nome-variabile=;
put _all_;
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 30
31. Funzioni: SUBSTR()
Estrae da una stringa, n caratteri(specificati nel 3° argomento) a partire dalla
posizione indicata(2° argomento).
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 31
32. Funzioni: SCAN()
Estrae da una stringa, la parola in posizione n, in base ai delimitatori
specificati.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 32
33. Funzioni: LENGTH()
Ritorna il numero di caratteri di una stringa, escludendo gli spazi in coda.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 33
34. Funzioni: TRIM()
Elimina gli spazi in coda da una stringa.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 34
35. Funzioni: CATX()
Concatena stringhe, rimuovendo spazi in testa e in coda.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 35
36. Funzioni: STRIP()
Rimuove tutti gli spazi in testa e in coda.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 36
37. Funzioni: COMPRESS()
Rimuove tutti gli spazi.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 37
38. Funzioni: LEFT() e RIGHT()
Allineano a sinistra o a destra una stringa.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 38
39. Funzioni: UPCASE() e LOWCASE()
Upcase() Lowcase()
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 39
40. Funzioni: INDEX()
Ritorna la posizione di una stringa all’interno di un’altra stringa.
Se la stringa ricercata non esiste, ritorna 0.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 40
41. Funzioni: INT()
Restituisce la parte intera di un valore numerico.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 41
42. Funzioni: ROUND()
Restituisce un numero arrotondato.
È anche possibile specificare un’unità di arrotondamento.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 42
43. Funzioni: MEAN()
Restituisce la media aritmetica dei valori indicati.
Ignora i valori missing.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 43
44. Funzioni: SUM()
Restituisce la somma dei valori indicati.
Ignora i valori missing.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 44
45. Funzioni data
Funzione Risultato
Today() Restituisce la data di sistema.
MDY(mese,giorno,anno) Restituisce il corrispondente valore di data SAS.
YEAR(variabile data) Restituisce l’anno da una data SAS.
MONTH(variabile data) Restituisce il mese da una data SAS.
QTR(variabile data) Restituisce il trimestre da una data SAS(da 1 a 4).
WEEKDAY(variabile data) Restituisce il giorno da una data SAS(Domenica 1,
Lunedì 2… Sabato 7).
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 45
46. Concatenazione dataset
Per concatenare in maniera verticale dei dataset, basta specificare due o più
dataset nell’istruzione SET.
I record compariranno nell’ordine in cui dataset vengono specificati.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 46
47. Concatenazione ordinata dataset
Per concatenare in maniera verticale e ordinata dei dataset, basta indicare
dei campi nell’istruzione BY.
I dataset di input devono essere ordinati.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 47
48. Opzione IN=
Si utilizza l’opzione IN= per verificare da quale dataset proviene
l’osservazione.
Se è 0---->il record non proviene da quel dataset
Se è 1---->il record proviene da quel dataset
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 48
49. Istruzione RENAME
Permette di rinominare le variabili.
Si può fare in punti diversi del data step.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 49
50. Unione di dataset: MERGE
Serve per unire le osservazioni di due dataset.
Di seguito la sintassi della MERGE.
I dataset di input devono essere sortati per le variabili specificate in BY.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 50
51. Unione di dataset: MERGE
Utilizzando le seguenti istruzioni nello step della merge si può:
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 51
Istruzione Descrizione
If a & b; Prende i record presenti in entrambe i dataset.
If a; Prende i record del primo dataset.
If b; Prende i record del secondo dataset.
……
52. Opzioni istruzione SET
Oltre alle opzioni drop, keep e rename, ci sono altre opzioni.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 52
Opzione Descrizione
FIRSTOBS Indica il numero della prima osservazione da processare.
OBS Indica il numero dell’ultima osservazione da processare.
NOBS Crea una variabile temporanea contenente il numero di
osservazione del dataset.
END Crea una variabile temporanea che vale 1 quando viene letta
l’ultima osservazione.
53. PROC FREQ
Serve per visualizzare la frequenza
dei valori delle variabili di un
dataset SAS.
Di default, la proc freq analizza
ogni variabile presente nel
dataset.
Visualizza ogni valore dei dati.
Indica, per ogni variabile, il
numero di record con valore
missing.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 53
54. PROC FREQ: doppia entrata
Serve per analizzare le possibili
combinazioni di due o più variabili.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 54
55. PROC FREQ: creazione tabella
È possibile reindirizzare l’output
utilizzando l’opzione OUT=.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 55
56. PROC MEANS
Visualizza statistiche descrittive per le variabili di un dataset.
Di default, analizza ogni variabili numerica, ed esclude i valori mancanit
prima di calcolare le statistiche.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 56
57. PROC MEANS: VAR
L’istruzione VAR limita le variabili di analisi.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 57
58. PROC MEANS: CLASS
L’istruzione CLASS raggruppa i record in base alle variabili indicate.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 58
59. PROC MEANS: NWAY
L’opzione NWAY calcola le statistiche per tutte le possibili combinazioni delle
variabili specificate nella CLASS.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 59
60. Istruzione OUTPUT
Di default, SAS fa un output implicito alla fine di ogni iterazione.
Utilizzando l’istruzione OUTPUT, SAS scrive un record solo quando esegue
l’istruzione di OUTPUT.
Si può scrivere in una tabella anziché in un’altra, a seconda che una
condizione sia vera o meno.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 60
61. Variabili di accumulo: RETAIN
L’istruzione RETAIN impedisce a SAS di reinizializzare il valore di una variabile
ad ogni iterazione.
Inizializza la variabile specificata a missing o con il valore specificato.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 61
62. Variabili di accumulo: RETAIN e BY e
first e last
Per accumulare i valori in maniera raggruppata, basta indicare nell’istruzione
BY le variabili desiderate.
I dataset devono essere ordinati per le variabili specificate in BY.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 62
63. Funzione INPUT()
SAS converte automaticamente un valore alfanumerico in un numerico quando
questo viene usato come un numero(es. nella SUM()).
Per convertire da stringa a numerico si può usare la funzione input().
Di seguito la sintassi:
Non è possibile cambiare il tipo di una variabile, per farlo bisogna crearne una
di appoggio e successivamente rinominarla.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 63
64. Funzione PUT()
SAS converte automaticamente un numero in stringa quando questo viene
usato come tale, ad esempio in una concatenazione.
Per forzare la conversione, si può usare la funzione PUT(), specificando un
certo formato.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 64
65. DO/END
Il ciclo comincia se e solo se il valore della variabili di inizio è minore o
uguale alla variabile fine.
Il ciclo termina quando il valore della variabile supera il valore della variabile
fine.
L’incremento e verifica è fatto a fine ciclo.
Di seguito la sintassi.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 65
66. DO WHILE
Esegue le istruzioni specificate, finché la condizione specificata è vera.
La condizione viene verificata all’inizio del ciclo, per cui se la condizione è
falsa già alla partenza, il ciclo non viene mai eseguito.
Di seguito la sintassi.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 66
67. DO UNTIL
Esegue le istruzioni specificate, finché la condizione specificata è falsa.
La condizione viene verificata alla fine del ciclo per cui, in ogni caso, almeno
una volta viene eseguito.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 67
68. Lettura dati da file esterni
Per creare un dataset SAS partendo da una fonte esterna quale un file csv,
txt, ecc… si deve:
Iniziare un passo di data, stabilendo il nome del dataset
Utilizzare l’istruzione INFILE, con cui si specifica il path del file esterno
Utilizzare l’istruzione INPUT, con cui si specifica come leggere i campi.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 68
69. Input a colonne
Per leggere a colonne, bisogna:
Specificare la colonna iniziale,
trattino, e la colonna finale del
campo.
Usare il $ se il campo è
alfanumerico.
Specificare un nome per la
variabile da leggere.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 69
70. PROC IMPORT
Un altro modo per importare file
esterni, è utilizzare la PROC
IMPORT.
Questa la sintassi generale:
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 70
71. Lettura file .csv
Per leggere file con separatore è possibile usare la proc import o fare l’infile.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 71
72. Assegnazione Label
E’ possibile applicare delle label ai nomi dei campi, per renderli più parlanti.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 72
73. Applicazione formati
In SAS è possibile applicare dei formati alle variabili.
I formati applicati nel passo di DATA sono permanenti.
I formati applicati nelle procedure sono validi solo all’interno della
procedura.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 73
74. Input a formati
È possibile leggere anche specificando i formati.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 74
75. PROC SORT
Per ordinare un dataset si può utilizzare la PROC SORT.
Può anche essere utilizzata per escludere duplicati.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 75
76. PROC SQL
Permette di creare tabelle SAS, utilizzando codice SQL.
Permette di leggere da altri db, con il modulo SAS/ACCESS.
La query viene eseguita quando incontra il ‘;’. Si chiude con QUIT.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 76
77. Macro
Le macro variabili vengono salvate in una tabella chiamata Symbol Table, e
restano disponibili per tutta la durata della sessione.
Una macro è una parte di codice parametrizzata, che sia può richiamare
tante volte ed elimina la scrittura di codice ripetitivo.
Quando si apre una sessione SAS, vengono create alcune macro variabili di
default. Si possono visualizzare con il comando %put _automatic_;
Tutte le macro istruzioni sono precedute da %.
Alcune possono essere usate in codice aperto(es. %let), altre devono per forza
stare all’interno di una macro(es. %do).
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 77
78. Referenziare Macro Variabili
Le macro variabili si richiamano mettendo un ‘&’ prima del nome.
Es.
Le macro variabili non vengono risolte se racchiuse fra singoli apici. Bisogna
utilizzare i doppi apici.
Le macro variabili contengono sempre del testo, non c’è bisogno di
differenziare fra numeriche o alfanumeriche.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 78
79. %PUT
Serve per stampare dei valori o delle variabili nella finestra di log.
%put _USER_; visualizza a log tutte le macro variabili utente;
%put _AUTOMATIC_; visualizza a log tutte le macro variabili automatiche;
%put _ALL_; visualizza a log tutte le macro variabili.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 79
80. Definizione di Macro Variabili
Ci sono 3 modi per definire delle macro variabili:
%LET
CALL SYMPUT(in un passo di data)
PROC SQL INTO:
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 80
81. %LET
La %LET viene utilizzata per definire una macro variabile ed assegnarle un
valore.
Se già esiste, viene sovrascritta, altrimenti viene creata.
Se contiene % o &, questi puntamenti vengono prima risolti.
Eventuali apici o doppi apici fanno parte del valore della variabile.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 81
82. Opzione Symbolgen
L’opzione SYMBOLGEN scrive nel log SAS il valore assunto dalla macro
variabile ogni volta che questa viene utilizzata.
L’opzione di default è NOSYMBOLGEN, quindi se si vuole visualizzare i valori
bisogna specificare l’opzione.
Di seguito la sintassi:
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 82
83. Cancellazione di Macro Variabili
E’ possibile cancellare la macro variabili in due modi:
%SYMDEL
CALL SYMDEL
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 83
84. Symbol Table
Le macro variabili vengono salvate in:
Global Symbol Table: vengono salvate quelle automatiche, disponibili per tutta la
sessione.
Local Symbol Table: vengono salvate le macro variabili create all’interno di una
macro. Sono richiamabili solo all’interno della macro in cui vengono create.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 84
85. Definizione di una macro
Per definire una macro, basta usare la seguente sintassi:
Il nome della macro segue le regole dei nomi SAS e non può essere uguale ad
altre parole chiavi.
Per richiamare una macro basta fare: %nomeMacro;
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 85
86. Macro Funzioni
Le macro funzioni sono simili alle funzioni SAS.
Sono eseguite dal macro processore prima della compilazione.
Hanno argomenti che possono essere:
Macro variabili
Macro funzioni
Invocazioni di macro
Testo
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 86
87. Esempi di macro funzioni
Funzioni
%BQUOTE %QSCAN
%NRBQUOTE %QSUBSTR
%EVAL %QSYSFUNC
%INDEX %QUOTE
%LENGTH %STR
%NRBQUOTE %SUBSTR
%NRQUOTE %SYSGET
%NRSTR %UPCASE
%SYSFUNC ….
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 87
88. CALL SYMPUT()
Permette di creare macro variabili in un data step.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 88
89. PROC SQL INTO:
Applicando l’opzione INTO: alla PROC SQL, è possibile salvare il risultato della
query in una macro variabile.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 89
90. Macro con Parametri
È possibile specificare dei parametri da passare in input ad una macro.
Di seguito un esempio.
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 90
91. %IF %THEN %ELSE
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 91
92. %DO %END
Arun Kumar Ram /05 Agosto 2019 /Copyright. Tutti i diritti sono riservati. 92